public virtual LeverPuzzleStatue GetStatue(int index) { LeverPuzzleStatue statue = (LeverPuzzleStatue)this.m_Statues[index]; if (statue != null && !statue.Deleted) { return(statue); } return(null); }
public virtual LeverPuzzleStatue GetStatue(int index) { LeverPuzzleStatue statue = (LeverPuzzleStatue)m_Statues[index]; return(statue?.Deleted == false ? statue : null); }