Example #1
0
 void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
Example #2
0
    private void Awake()
    {
        instance = this;

        // 初始化对象池
        FillPool();
    }
Example #3
0
 private void Awake()
 {
     instance = this;
     Fullfillpool();
 }
 void Awake()
 {
     instance = this;
     FillPool();
 }