public virtual void RegisterEntityStates() { foreach (Type type in entityStateTypes) { entityStates.Add(new SerializableEntityStateType(type)); //var typeName = type.FullName.Substring(type.FullName.LastIndexOf('.') + 1); //entityStateConfigs.Add(Assets.mainAssetBundle.LoadAsset<EntityStateConfiguration>(typeName)); LogCore.LogI("Registered entitystate typename: " + entityStates[entityStates.Count - 1].typeName); } }
public virtual void Create(ConfigFile config) { LogCore.LogI("h1"); BuildConfig(config); LogCore.LogI("h2"); RegisterEntityStates(); LogCore.LogI("h3"); ModifyAssets(); LogCore.LogI("h4"); ModifyPrefabs(); LogCore.LogI("h5"); RegisterPrefabs(); LogCore.LogI("h6"); LogCore.LogI("h7"); LogCore.LogI("h8"); LogCore.LogI("h9"); ModifyDirectorCardOrHolder(); LogCore.LogI("h10"); CreateDirectorCard(); LogCore.LogI("h11"); Hook(); }