Пример #1
0
 private void RemoveExtension(StratusPlayerControllerExtension extension)
 {
     endOfFrameRequests.Add(() =>
     {
         extensionEditor = null;
         extensionIndex  = 0;
         target.Remove(extension);
         Undo.DestroyObjectImmediate(extension);
         RefreshExtensions();
     });
 }
Пример #2
0
 public void Remove(StratusPlayerControllerExtension extension)
 {
     extensionsField.Remove(extension);
 }
Пример #3
0
 //--------------------------------------------------------------------------------------------/
 // Methods
 //--------------------------------------------------------------------------------------------/
 public void Add(StratusPlayerControllerExtension extension)
 {
     extensionsField.Add(extension);
 }