void ReleaseCrossFadeReference() { if (crossFadeReference != null) { crossFadeReference.RemoveComponentMySelf(); crossFadeReference = null; } }
protected virtual void ReleaseCrossFadeReference() { if (crossFadeReference != null) { crossFadeReference.RemoveComponentMySelf(); crossFadeReference = null; } if (crossFade != null) { crossFade.RemoveComponentMySelf(); } }