public static T GetOrAddComponent <T> (this GameObject go) where T : Component { return(ObjectUtil.GetOrAddComponent <T> (go)); }
public static void RemoveComponent <T> (this GameObject go) where T : Component { ObjectUtil.RemoveComponent <T> (go); }
public static void RemoveComponent(this GameObject go, System.Type type) { ObjectUtil.RemoveComponent(go, type); }
public static Component GetOrAddComponent(this GameObject go, System.Type type) { return(ObjectUtil.GetOrAddComponent(go, type)); }