コード例 #1
0
ファイル: FightState.cs プロジェクト: hussein-aitlahcen/nevaw
        protected override void Enable()
        {
            //IL_002f: Unknown result type (might be due to invalid IL or missing references)
            //IL_0049: Unknown result type (might be due to invalid IL or missing references)
            m_uiRework.OnQuitRequest       += OnQuitClick;
            m_uiRework.onTurnEndButtonClick = EndTurn;
            SceneManager.SetActiveScene(m_fightMapScene);
            RenderSettings.set_ambientLight(FightMap.current.ambience.lightSettings.ambientColor);
            FightLogicExecutor.Start();
            FightMap current = FightMap.current;

            if (null != current)
            {
                current.Begin();
            }
        }