/// <summary> /// 创建Text /// </summary> public static void InstanceText() { Text text = CreateComponent <Text>(); AddComponentOptimizing.OptimizingText(text); }
/// <summary> /// 创建Image /// UISystem->MenuOptions.AddImage /// </summary> public static void InstanceImage() { Image image = CreateComponent <Image>(); AddComponentOptimizing.OptimizingImage(image); }