Class RandomSourceBaseSO
Base class for RandomSource contained in ScriptableObjects
Namespace: RandomToolbox
Assembly: cs.temp.dll.dll
Syntax
public abstract class RandomSourceBaseSO : ScriptableObject
Properties
InitializeOnAwake
If True, Start() will be called when ScriptableObnject is Awake
Declaration
public bool InitializeOnAwake { get; }
Property Value
Type | Description |
---|---|
Boolean |
Instance
RandomSource instance contained in this ScriptableObject
Declaration
public RandomSourceBase Instance { get; }
Property Value
Type | Description |
---|---|
RandomSourceBase |
m_baseInstance
Override in derived class to allow the base class acces to the RandomSource instance
Declaration
protected abstract RandomSourceBase m_baseInstance { get; }
Property Value
Type | Description |
---|---|
RandomSourceBase |
ReseedOnAwake
If True, Reseed() will be called when ScriptableObnject is Awake. Since a reseed force a re-init if this field is true, it force 'InitializeOnAwake' to true
Declaration
public bool ReseedOnAwake { get; }
Property Value
Type | Description |
---|---|
Boolean |