Esempio n. 1
0
        public virtual LeverPuzzleStatue GetStatue(int index)
        {
            LeverPuzzleStatue statue = (LeverPuzzleStatue)this.m_Statues[index];

            if (statue != null && !statue.Deleted)
            {
                return(statue);
            }
            return(null);
        }
Esempio n. 2
0
        public virtual LeverPuzzleStatue GetStatue(int index)
        {
            LeverPuzzleStatue statue = (LeverPuzzleStatue)m_Statues[index];

            return(statue?.Deleted == false ? statue : null);
        }