예제 #1
0
 void Awake()
 {
     transform.localScale = Vector3.zero;
     _shakeCamera         = FindObjectOfType <CameraShake> ();
     theTraitor           = GetComponent <TheTraitor> ();
     _theDaystar          = FindObjectOfType <TheDaystar> ();
 }
예제 #2
0
 void Awake()
 {
     _theShepherd       = FindObjectOfType <TheShepherd> ();
     _rotationDirection = _indicatedRotationDirections[Random.Range(0, _indicatedRotationDirections.Length)];
     _shakeCamera       = FindObjectOfType <CameraShake> ();
     theTraitor         = GetComponent <TheTraitor> ();
     _theDaystar        = FindObjectOfType <TheDaystar> ();
 }
예제 #3
0
 void Awake()
 {
     _shakeCamera = FindObjectOfType <CameraShake> ();
     theTraitor   = GetComponent <TheTraitor> ();
     _theDaystar  = FindObjectOfType <TheDaystar> ();
 }