Class CreateFromDataBase
Base class for creating from trait data.
Inheritance
CreateFromDataBase
Syntax
public abstract class CreateFromDataBase : object
Fields
m_CreatedObject
Declaration
protected GameObject m_CreatedObject
Field Value
Type |
Description |
GameObject |
|
m_Replicate
Declaration
protected bool m_Replicate
Field Value
m_Replicator
Declaration
protected Replicator m_Replicator
Field Value
ObjectParent
Declaration
protected Transform ObjectParent
Field Value
Type |
Description |
Transform |
|
Properties
MaxCount
The max count for the created replicator. If set to 1, there will be no replicator. 0 indicates infinite matches.
Declaration
public int MaxCount { get; set; }
Property Value
Replicate
If enabled, the created object will be replicated for all matches. The max instance count can be set via SetMaxCount
Declaration
public bool Replicate { get; set; }
Property Value
Methods
SetupReplicator()
Declaration
protected void SetupReplicator()