Beispiel #1
0
 private float OnElementHeightSpawnerPresetListEntry(int index)
 {
     return(SpawnerPresetListEditor.OnElementHeight());
 }
Beispiel #2
0
 private void DrawSpawnerPresetListElement(Rect rect, int index, bool isActive, bool isFocused)
 {
     SpawnerPresetListEditor.DrawListElement(rect, m_biomePreset.m_spawnerPresetList[index], m_editorUtils);
 }
Beispiel #3
0
 private void OnAddSpawnerPresetListEntry(ReorderableList list)
 {
     m_biomePreset.m_spawnerPresetList = SpawnerPresetListEditor.OnAddListEntry(m_biomePreset.m_spawnerPresetList);
     list.list = m_biomePreset.m_spawnerPresetList;
 }
Beispiel #4
0
 private void DrawSpawnerPresetListHeader(Rect rect)
 {
     SpawnerPresetListEditor.DrawListHeader(rect, true, m_biomePreset.m_spawnerPresetList, m_editorUtils, "SpawnerAdded");
 }
Beispiel #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;
 }