Esempio n. 1
0
 void Start()
 {
     //单例模式赋值
     _instance = this;
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     move = GameObject.FindGameObjectWithTag("me").GetComponent <PlayerAutoMove>();
 }
Esempio n. 3
0
 void Awake()
 {
     instance = this;
 }