예제 #1
0
 void Awake()
 {
     transform.localScale = Vector3.zero;
     _shakeCamera         = FindObjectOfType <CameraShake> ();
     theTraitor           = GetComponent <TheTraitor> ();
     _theDaystar          = FindObjectOfType <TheDaystar> ();
 }
예제 #2
0
 void Awake()
 {
     _theDaystar         = FindObjectOfType <TheDaystar> ();
     _settings           = FindObjectOfType <Settings> ();
     _player             = FindObjectOfType <TheShepherd> ();
     _theTraitorDueCount = GetComponent <TheTraitorDueCount> ();
 }
예제 #3
0
 void Awake()
 {
     _theDaystar = Resources.FindObjectsOfTypeAll <TheDaystar> () [0];
     _theHouse   = FindObjectOfType <TheHouse> ();
     _skill      = GetComponent <TheTrueDaystarSkill> ();
     _settings   = FindObjectOfType <Settings> ();
 }
예제 #4
0
 void Awake()
 {
     _theShepherd       = FindObjectOfType <TheShepherd> ();
     _rotationDirection = _indicatedRotationDirections[Random.Range(0, _indicatedRotationDirections.Length)];
     _shakeCamera       = FindObjectOfType <CameraShake> ();
     theTraitor         = GetComponent <TheTraitor> ();
     _theDaystar        = FindObjectOfType <TheDaystar> ();
 }
예제 #5
0
 void Awake()
 {
     _shakeCamera = FindObjectOfType <CameraShake> ();
     theTraitor   = GetComponent <TheTraitor> ();
     _theDaystar  = FindObjectOfType <TheDaystar> ();
 }
예제 #6
0
 void Awake()
 {
     _skills.ForEach(skill => skill.onEnd += OnSkillEnd);
     _theDaystar = GetComponent <TheDaystar> ();
 }
예제 #7
0
 void Awake()
 {
     _theDaystar         = FindObjectOfType <TheDaystar> ();
     _theShepherd        = FindObjectOfType <TheShepherd> ();
     _theTraitorDueCount = GetComponent <TheTraitorDueCount> ();
 }