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