protected virtual void ClearItemAnimator() { if (itemAnimator != null) { itemAnimator.Clear(); itemAnimator = null; } }
protected override void ClearChildAnimators() { TwoStateAnimator layerAnimator = null; if (layerAnimators != null) { for (int i = 0; i < layerAnimators.Length; i++) { layerAnimator = layerAnimators[i]; if (layerAnimator != null) { layerAnimator.Clear(); } } } layerTransforms = null; layerSpeeds = null; layerAnimators = null; }