public override void Init(object parentContainer) { base.Init(parentContainer); m_roomEditor = new RoomEditor(); m_roomEditor.Init(this); }
void OnEnable() { m_roomEditor = new RoomEditor(); m_roomEditor.Init(this); }