public static string ToIconName(this CustomDefineManager.cdmBuildTargetGroup tg)
        {
            switch (tg)
            {
            case CustomDefineManager.cdmBuildTargetGroup.iOS: return("iPhone");

#if UNITY_5_0 || UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4
            case CustomDefineManager.cdmBuildTargetGroup.Nintendo3DS: return("N3DS");
#endif
            }

            return(tg.ToString());
        }
 public override string ToString()
 {
     return(string.Format("{0} : {1}", name, targets.ToString()));
 }
 public static BuildTargetGroup ToBuildTargetGroup(this CustomDefineManager.cdmBuildTargetGroup tg)
 {
     //Debug.Log(tg.ToString());
     return((BuildTargetGroup)Enum.Parse(typeof(BuildTargetGroup), tg.ToString()));
 }