Click or drag to resize
EntityConfigurationBehaviour Class
Creates a game entity from the specified configuration.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Slash.Unity.Common.ECSEntityConfigurationBehaviour

Namespace: Slash.Unity.Common.ECS
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public class EntityConfigurationBehaviour : MonoBehaviour, 
	ISerializationCallbackReceiver

The EntityConfigurationBehaviour type exposes the following members.

Constructors
  NameDescription
Public methodEntityConfigurationBehaviour
Initializes a new instance of the EntityConfigurationBehaviour class
Top
Properties
  NameDescription
Public propertyEntityId
Id of the entity created with this configuration.
Top
Methods
  NameDescription
Public methodOnAfterDeserialize
Deserializes this entity configuration.
Public methodOnBeforeSerialize
Prepares this entity configuration for serialization by Unity.
Top
Fields
  NameDescription
Public fieldBlueprintId
Blueprint id of the entity to create.
Public fieldConfiguration
Configuration of the entity to create.
Public fieldSerializedConfigurationKeys
Configuration keys as serialized by Unity.
Public fieldSerializedConfigurationTypes
Configuration value types as serialized by Unity.
Public fieldSerializedConfigurationValues
Configuration values as serialized by Unity.
Top
Remarks
Note that this behaviour currently does not support prefabs. If you attach this behaviour to a prefab, all instances will always have their configurations reset to the prefab values.
See Also