Пример #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;
 }