Assets/Editor/Tool/PrefabCreateTool.cs
@@ -1,5 +1,5 @@ //-------------------------------------------------------- // [Author]: 第二世界 // [Author]: 玩个游戏 // [ Date ]: Tuesday, October 31, 2017 //-------------------------------------------------------- using UnityEngine; @@ -134,7 +134,7 @@ public static void CreateTextEx() { var instance = new GameObject("TextEx"); var text = instance.AddComponent<TextEx>(); var text = instance.AddComponent<TextEx>(); text.font = FontUtility.preferred; text.fontSize = 22; text.alignment = TextAnchor.MiddleCenter;