示例#1
0
        public static void UnitTest_Type()
        {
            string  str = "abcd";
            char    ccc = str[0];
            Color32 c   = new Color32(2, 2, 3, 5);

            c.TestType(typeof(Color32));
        }
示例#2
0
        public static void UnitTest_Out()
        {
            EUIPanelID id = EUIPanelID.INT1;
            Color32    c  = new Color32(2, 2, 3, 5);
            byte       b  = 0;

            c.GetA(out b);
            Logger.Log("a=" + b);
            c.GetB(ref b);
            Logger.Log("b=" + b);
        }
示例#3
0
 public static void UnitTest_Type()
 {
     string str = "abcd";
     char ccc = str[0];
     Color32 c = new Color32(2, 2, 3, 5);
     c.TestType(typeof(Color32));
 }
示例#4
0
 public static void UnitTest_Out()
 {
     EUIPanelID id = EUIPanelID.INT1;
     Color32 c = new Color32(2, 2, 3, 5);
     byte b = 0;
     c.GetA(out b);
     Logger.Log("a=" + b);
     c.GetB(ref b);
     Logger.Log("b=" + b);
 }