Example #1
0
    public static void CreateHunter_TextAssetFile()
    {
        Hunter_Text asset = CustomAssetUtility.CreateAsset <Hunter_Text>();

        asset.SheetName     = "MPQGame";
        asset.WorksheetName = "Hunter_Text";
        EditorUtility.SetDirty(asset);
    }
 public void Init()
 {
     hunterText      = Resources.Load("Sheet/Hunter_Text") as Hunter_Text;
     clientText      = Resources.Load("Sheet/Client_Text") as Client_Text;
     clientSayNormal = Resources.Load("Sheet/Client_QuestSay_Normal") as Client_QuestSay_Normal;
     cname           = Resources.Load("Sheet/Charactor_Name") as Charactor_Name;
     nameMax         = cname.dataArray.Length;
 }