예제 #1
0
		public void GoTo(RoomComponent room)
		{
			if (CurRoom != null)
				CurRoom.Hide ();

			CurRoom = room;
			if (CurRoom != null)
				CurRoom.Show();
		}
예제 #2
0
        public void GoTo(RoomComponent room)
        {
            if (CurRoom != null)
            {
                CurRoom.Hide();
            }

            CurRoom = room;
            if (CurRoom != null)
            {
                CurRoom.Show();
            }
        }