Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     player               = GameObject.Find("Player");
     disguise             = player.GetComponent <PlayerDisguise> ();
     body                 = GetComponent <Rigidbody2D> ();
     reconsider_goal_time = Time.time + 10;
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     disguise = GameObject.Find("Player").GetComponent <PlayerDisguise> ();
     movement = GetComponentInParent <NPCDefault> ();
 }
Beispiel #3
0
 // Start is called before the first frame update
 void Start()
 {
     _playerDisguise = FindObjectOfType <PlayerDisguise>();
     currentLight    = 0;
 }