示例#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;
 }