コード例 #1
0
        static void OnLoad()
        {
            if (Instance == null)
            {
                throw new ArgumentException("No Core Asset Found");
            }

            Instance.Configure();
        }
コード例 #2
0
ファイル: Game.cs プロジェクト: moe4b-work/Card-Castle-LD41
        static void GameLoad()
        {
            if (!InstanceAvailable)
            {
                throw new Exception("No Game Asset Found");
            }

            Instance.Configure();
        }