protected void HideSprite(SpriteBase sp, bool tf) { if (deactivateNonPlaying) if (deactivateRecursively) sp.gameObject.SetActiveRecursively(!tf); else sp.gameObject.active = !tf; else sp.Hide(tf); }