示例#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;
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     disguise = GameObject.Find("Player").GetComponent <PlayerDisguise> ();
     movement = GetComponentInParent <NPCDefault> ();
 }
示例#3
0
 // Start is called before the first frame update
 void Start()
 {
     _playerDisguise = FindObjectOfType <PlayerDisguise>();
     currentLight    = 0;
 }