示例#1
0
 // Use this for initialization
 void Start()
 {
     placeur  = GameObject.Find("Placeur").GetComponent <Placeur>();
     text     = GetComponent <Text>();
     ai       = GameObject.Find("Player").transform;
     posStart = ai.position;
 }
示例#2
0
 void Start()
 {
     placeur = GetComponent <Placeur>();
 }