コード例 #1
0
 void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
コード例 #2
0
    private void Awake()
    {
        instance = this;

        // 初始化对象池
        FillPool();
    }
コード例 #3
0
ファイル: ShadowPool.cs プロジェクト: zsw-test/FightGame
 private void Awake()
 {
     instance = this;
     Fullfillpool();
 }
コード例 #4
0
 void Awake()
 {
     instance = this;
     FillPool();
 }