コード例 #1
0
        public void UpdateRegion()
        {
            if (m_Coords != null)
            {
                if (m_Region != null)
                {
                    m_Region.Unregister();
                }

                CheckRectFix();

                m_Region = new TArenaRegion(this, this.Map, this.m_Coords.ToArray());

                m_Region.Disabled = true;

                m_Region.Register();
            }

            return;
        }
コード例 #2
0
		public void UpdateRegion()
		{
			if( m_Coords != null )
			{
				if( m_Region != null )
					m_Region.Unregister();

				CheckRectFix();

				m_Region = new TArenaRegion( this, this.Map, this.m_Coords.ToArray() );

				m_Region.Disabled = true;

				m_Region.Register();
			}

			return;
		}