コード例 #1
0
        public static JSONNode LoadMockJSON(string path)
        {
            TextAsset text = BaseUtils.LoadResource(BasePath.GetJSONPath(path)) as TextAsset;
            var       data = JSONNode.Parse(text.text);

            return(data);
        }
コード例 #2
0
 public static void PreloadPrefabs()
 {
     PreloadPrefabsByPath(BasePath.GetBattleEffectPath(""));
     PreloadPrefabsByPath(BasePath.GetProjectilePath(""));
 }