예제 #1
0
 public void InitializeBossRegion()
 {
     m_BossRegion = new CorgulRegion(m_CorgulBounds, this);
     m_BossRegion.Register();
 }
예제 #2
0
        public override void Delete()
        {
            Active = false;
            Reset();

            if (m_BossRegion != null)
            {
                m_BossRegion.Unregister();
                m_BossRegion = null;
            }

            if (m_WarpRegion != null)
            {
                m_WarpRegion.Unregister();
                m_WarpRegion = null;
            }

            base.Delete();
        }