三国卡牌客户端基础资源仓库
yyl
2 天以前 8680b2b992354013cb33c4c346abc60640319336
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;