Class BakeUtil
public static class BakeUtil
- Inheritance
-
BakeUtil
Fields
bakeOnBuildKey
public const string bakeOnBuildKey = "Coherence.BakeOnBuild"
Field Value
bakeOnEnterPlayModeKey
public const string bakeOnEnterPlayModeKey = "Coherence.BakeOnEnterPlayMode"
Field Value
coherenceSyncSchemasDirtyKey
public const string coherenceSyncSchemasDirtyKey = "Coherence.CoherenceSyncSchemasDirty"
Field Value
gatherOnBakeKey
public const string gatherOnBakeKey = "Coherence.GatherOnBake"
Field Value
Properties
ActiveSchemasChanged
Determines if the active schemas have changed since the last bake performed.
note
It only takes into account schemas, it won't consider the gather manifest (necessary for a complete bake).
public static bool ActiveSchemasChanged { get; }
Property Value
BakeOnBuild
public static bool BakeOnBuild { get; set; }
Property Value
BakeOnEnterPlayMode
public static bool BakeOnEnterPlayMode { get; set; }
Property Value
CoherenceSyncSchemaOutdated
Determines if the gathered CoherenceSync schema is outdated.
public static bool CoherenceSyncSchemaOutdated { get; }
Property Value
CoherenceSyncSchemasDirty
public static bool CoherenceSyncSchemasDirty { get; }
Property Value
GatherOnBake
public static bool GatherOnBake { get; set; }
Property Value
HasReflectedModeSupport
Determines if there is reflected mode support.
public static bool HasReflectedModeSupport { get; }
Property Value
HasSchemaID
public static bool HasSchemaID { get; }
Property Value
Outdated
Determines if the baked files are outdated, based on missing files and changes on schema files. If they are, a Bake(Settings) operation is recommended.
public static bool Outdated { get; }
Property Value
OutputFolder
Gets the path (relative to the project path) where the baked files are stored.
public static string OutputFolder { get; }
Property Value
SchemaID
Gets the current SchemaID for this project. The SchemaID is a hash computed from the contents of all the active schemas.
public static string SchemaID { get; }
Property Value
SchemaIDShort
Gets the current short SchemaID (5 chars) for this project. The SchemaID is a hash computed from the contents of all the active schemas.
public static string SchemaIDShort { get; }
Property Value
Methods
Bake()
public static bool Bake()
Returns
Bake(Settings)
public static bool Bake(BakeUtil.Settings settings)
Parameters
Returns
EmitSchema()
[Obsolete("Use BakeUtil.GatherCoherenceSyncSchema")]
public static bool EmitSchema()
Returns
GatherCoherenceSyncSchema()
public static bool GatherCoherenceSyncSchema()
Returns
Events
OnBakeEnded
public static event Action<BakeUtil.Settings> OnBakeEnded
Event Type
OnBakeStarted
public static event Action<BakeUtil.Settings> OnBakeStarted