예제 #1
0
 public static void SetIcon(this GameObject gObj, IconManager.Icon icon)
 {
     if (icon == IconManager.Icon.None)
     {
         IconManager.RemoveIcon(gObj);
     }
     else
     {
         IconManager.SetIcon(gObj, icon);
     }
 }
예제 #2
0
 public static void RemoveIcon(this GameObject gObj)
 {
     IconManager.RemoveIcon(gObj);
 }