Example #1
0
 public void RemoveRandomizer(RandomizerElement element)
 {
     Undo.RegisterCompleteObjectUndo(m_Property.serializedObject.targetObject, "Remove Randomizer");
     scenario.RemoveRandomizer(element.randomizerType);
     m_Property.serializedObject.Update();
     RefreshList();
 }
Example #2
0
 public void RemoveRandomizer(RandomizerElement element)
 {
     scenario.RemoveRandomizer(element.randomizerType);
     m_Property.serializedObject.Update();
     RefreshList();
 }