コード例 #1
0
ファイル: Npc.cs プロジェクト: VenzellCoder/CSharpGames
        void Awake()
        {
            m_DamageFlash = GetComponent <DamageOutlineFlash>();

            // <VENZELL> настройки в зависимости от текущего уровня
            int difficultyLevel = PlayerDataManager.s_Instance.difficultyLevel;

            npsDifficultyDetails = GameSettings.s_Instance.m_DifficultyLevelList.GetDifficultyLevelDetails(difficultyLevel);
        }
コード例 #2
0
 private void Awake()
 {
     m_AttachedDecorations = new List <Decoration>();
     m_DamageFlash         = GetComponent <DamageOutlineFlash>();
 }
コード例 #3
0
ファイル: Npc.cs プロジェクト: usernamejialu/tank
 void Awake()
 {
     m_DamageFlash = GetComponent <DamageOutlineFlash>();
 }