static public void Clear() { AnimationHolder ah = FindOrCreateAH(); if (ah) { ah.ClearInEditor(); } /* * for (int i = ah.animationObjectsParentAR.transform.childCount; i >= 0; i--) * DestroyImmediate(ah.animationObjectsParentAR.transform.GetChild(i)); * * for (int i = ah.animationObjectsParentNonAR.transform.childCount; i >= 0; i--) * DestroyImmediate(ah.animationObjectsParentNonAR.transform.GetChild(i));*/ }