コード例 #1
0
ファイル: UI_Game_Options.cs プロジェクト: piter65/spilldec
    void Awake()
    {
        _instance = this;

        // BChance: (2016-01-07) - Ensure GLOBALs are setup.
        GLOBAL.Init();
    }
コード例 #2
0
ファイル: UI_Game_Options.cs プロジェクト: piter65/spilldec
 void OnDestroy()
 {
     if (_instance == this)
         _instance = null;
 }