예제 #1
0
 public static GameObject SetLabelIcon(this GameObject target, int icon_index)
 {
     return(SetEntityLabelIcon.Perform(target, icon_index));
 }
예제 #2
0
 public static T SetLabelIcon <T>(this T target, int icon_index) where T : Component
 {
     SetEntityLabelIcon.Perform(target.gameObject, icon_index);
     return(target);
 }