using UnityEngine; namespace SK.Framework { public static class BehaviourExtension { public static T Enable(this T self) where T : Behaviour { self.enabled = true; return self; } public static T Disable(this T self) where T : Behaviour { self.enabled = false; return self; } } }