public static void SetIcon(this GameObject go, GameObjectLabelIcon icon) { #if UNITY_EDITOR IconUtility.SetIcon(go, icon); #endif }
public static void SetIcon(this GameObject go, Texture2D texture) { #if UNITY_EDITOR IconUtility.SetIcon(go, texture); #endif }
public static void SetIcon(this GameObject go, Sprite sprite) { #if UNITY_EDITOR IconUtility.SetIcon(go, sprite); #endif }
public static void ClearIcon(this GameObject go) { #if UNITY_EDITOR IconUtility.SetIcon(go, (Texture2D)null); #endif }