protected virtual void ActivateItemAnimator() { if (itemAnimator != null) { itemAnimator.SetActive(true); } }
public override void SetActive(bool newActive) { TwoStateAnimator layerAnimator = null; if (layerAnimators != null) { for (int i = 0; i < layerAnimators.Length; i++) { layerAnimator = layerAnimators[i]; if (layerAnimator != null) { layerAnimator.SetActive(newActive); } } } base.SetActive(newActive); }