Exemple #1
0
    public static void CreateCharactor_NameAssetFile()
    {
        Charactor_Name asset = CustomAssetUtility.CreateAsset <Charactor_Name>();

        asset.SheetName     = "MPQGame";
        asset.WorksheetName = "Charactor_Name";
        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;
 }