Exemple #1
0
    private void destroy_undo()
    {
#if UNITY_EDITOR
        deleteAllKeys_undo();

        AMUtil.destroyObjImm(this);
#endif
    }
 public void destroy()
 {
     foreach (AMEventParameter param in lsArray)
     {
         param.destroy();
     }
     AMUtil.destroyObjImm(this);
 }
Exemple #3
0
 private void destroy_nonUndo()
 {
     // destroy keys
     foreach (AMKey key in keys)
     {
         key.destroy();
     }
     // destroy cache
     destroyCache();
     // destroy track
     //Object.DestroyImmediate(this);
     AMUtil.destroyObjImm(this);
 }
Exemple #4
0
 public virtual void destroy()
 {
     AMUtil.destroyObjImm(this);
 }
 public void destroy()
 {
     //Object.DestroyImmediate(this);
     AMUtil.destroyObjImm(this);
 }