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