public static void CreateClient_TextAssetFile() { Client_Text asset = CustomAssetUtility.CreateAsset <Client_Text>(); asset.SheetName = "MPQGame"; asset.WorksheetName = "Client_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; }