예제 #1
0
        /// <summary>
        /// 创建Text
        /// </summary>
        public static void InstanceText()
        {
            Text text = CreateComponent <Text>();

            AddComponentOptimizing.OptimizingText(text);
        }
예제 #2
0
        /// <summary>
        /// 创建Image
        /// UISystem->MenuOptions.AddImage
        /// </summary>
        public static void InstanceImage()
        {
            Image image = CreateComponent <Image>();

            AddComponentOptimizing.OptimizingImage(image);
        }