public static void SetIcon(this GameObject gObj, IconManager.Icon icon) { if (icon == IconManager.Icon.None) { IconManager.RemoveIcon(gObj); } else { IconManager.SetIcon(gObj, icon); } }
public static void RemoveIcon(this GameObject gObj) { IconManager.RemoveIcon(gObj); }