private void OnEnable() { m_sceneContainer = (SceneContainer)target; m_target = new SerializedObject(m_sceneContainer); }
/// <summary> /// Fires Event. /// </summary> public void MapSelected(int idx) { SelectionChanged(idx); m_currentSceneContainer = SceneContainerDatabase.Maps[idx]; OnMapSelected?.Invoke(m_currentSceneContainer); }