/*Removes the specified AnimObject from the collection of AnimObjects, if found */ public void RemoveAnimObject(AnimObject ao) { _animObjectCollection.Remove(ao); ScriptableObjectUtility.DeleteAsset(ao); }
private void DeleteCurrentObject() { ScriptableObjectUtility.DeleteAsset(_CurrentUTADirector.GetPlayableAsset()); DestroyImmediate(_CurrentUTADirector.gameObject); }