Свойство | Type | Description | |
---|---|---|---|
LevelTemplatePath | string | ||
SavedLevelTemplateState | string | ||
SavedSharedTemplateState | string | ||
SavedSnapshotState | string | ||
SharedTemplatePath | string | ||
SnapshotPath | string |
Свойство | Type | Description | |
---|---|---|---|
FindChild | |||
PrepareForRestoration | void |
Méthode | Description | |
---|---|---|
AddEntity ( ) : void |
Adds an entity to the current snapshot.
|
|
AddLevelTemplate ( ) : void |
Adds a template to the current level template group.
|
|
AddSharedTemplate ( ) : void |
Adds a template to the current shared template group.
|
|
ClearLevelTemplates ( ) : void |
Removes the level template group.
|
|
ClearSharedTemplates ( ) : void |
Removes the shared template group.
|
|
ClearSnapshot ( ) : void |
Removes the current level.
|
|
CreateLevelTemplateGroup ( ) : void |
Creates a new empty level template group.
|
|
CreateSharedTemplateGroup ( ) : void |
Creates a new empty shared template group.
|
|
CreateSnapshot ( ) : void |
Creates a new empty snapshot.
|
|
ExportLevelTemplates ( ) : void |
Writes the current state of the level templates to the template path.
|
|
ExportSharedTemplates ( ) : void |
Writes the current state of the shared templates to the template path.
|
|
ExportSnapshot ( ) : void |
Exports the current level reference to the export path.
|
|
ImportLevelTemplates ( string templateJson ) : void |
Imports level templates using the given template JSON.
|
|
ImportSharedTemplates ( string templateJson ) : void |
Imports shared templates using the given template JSON.
|
|
ImportSnapshot ( string snapshotJson ) : void | ||
OnEntityDestroyed ( EntityContainer container ) : void | ||
OnTemplateDestroyed ( ITemplate template ) : void |
Méthode | Description | |
---|---|---|
OnDisable ( ) : void | ||
Update ( ) : void |
Méthode | Description | |
---|---|---|
FindChild ( string name ) : |
Finds or creates a child entity with the given name (relative to this game object).
|
|
PrepareForRestoration ( ) : void |
Prepares the restoration state and clears out entity/template containers in preparation either a Unity serialization cycle or entering play mode.
|
public CreateSharedTemplateGroup ( ) : void | ||
Résultat | void |
public ImportLevelTemplates ( string templateJson ) : void | ||
templateJson | string | |
Résultat | void |
public ImportSharedTemplates ( string templateJson ) : void | ||
templateJson | string | |
Résultat | void |
public ImportSnapshot ( string snapshotJson ) : void | ||
snapshotJson | string | |
Résultat | void |
public OnEntityDestroyed ( EntityContainer container ) : void | ||
container | EntityContainer | |
Résultat | void |
public OnTemplateDestroyed ( ITemplate template ) : void | ||
template | ITemplate | |
Résultat | void |