예제 #1
0
 private float OnElementHeightSpawnerPresetListEntry(int index)
 {
     return(SpawnerPresetListEditor.OnElementHeight());
 }
예제 #2
0
 private void DrawSpawnerPresetListElement(Rect rect, int index, bool isActive, bool isFocused)
 {
     SpawnerPresetListEditor.DrawListElement(rect, m_biomePreset.m_spawnerPresetList[index], m_editorUtils);
 }
예제 #3
0
 private void OnAddSpawnerPresetListEntry(ReorderableList list)
 {
     m_biomePreset.m_spawnerPresetList = SpawnerPresetListEditor.OnAddListEntry(m_biomePreset.m_spawnerPresetList);
     list.list = m_biomePreset.m_spawnerPresetList;
 }
예제 #4
0
 private void DrawSpawnerPresetListHeader(Rect rect)
 {
     SpawnerPresetListEditor.DrawListHeader(rect, true, m_biomePreset.m_spawnerPresetList, m_editorUtils, "SpawnerAdded");
 }
예제 #5
0
 private void OnRemoveSpawnerPresetListEntry(ReorderableList list)
 {
     m_biomePreset.m_spawnerPresetList = SpawnerPresetListEditor.OnRemoveListEntry(m_biomePreset.m_spawnerPresetList, m_spawnerPresetList.index);
     list.list = m_biomePreset.m_spawnerPresetList;
 }