コード例 #1
0
ファイル: SwapTwoChess.cs プロジェクト: dazhulin/Games
    public static SwapTwoChess Instance;       // 本类的静态实例

    void Awake()
    {
        Instance = this;
    }
コード例 #2
0
 void Awake()
 {
     instance = this;
 }
コード例 #3
0
 void Awake()
 {
     Instance = this;
 }