protected new void OnEnable() { base.OnEnable(); // NOTE: though we have ExecuteInEditMode, user can Add/Remove spanim in Editor if ( spanim == null ) { spanim = GetComponent<exSpriteAnimation>(); } }