Class LevelGeneratorBase<TPayload>
Base class for level generators.
Inheritance
System.Object
LevelGeneratorBase<TPayload>
Implements
ISerializationCallbackReceiver
Assembly: cs.temp.dll.dll
Syntax
public abstract class LevelGeneratorBase<TPayload> : VersionedMonoBehaviour, ISerializationCallbackReceiver, ILevelGenerator where TPayload : class
Type Parameters
Name |
Description |
TPayload |
|
Fields
EnableDiagnostics
Declaration
public bool EnableDiagnostics
Field Value
Type |
Description |
System.Boolean |
|
PipelineRunner
Declaration
protected readonly PipelineRunner<TPayload> PipelineRunner
Field Value
Properties
Declaration
protected abstract bool ThrowExceptionImmediately { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Generate()
Declaration
public virtual object Generate()
Returns
Type |
Description |
System.Object |
|
GenerateCoroutine()
Declaration
public virtual IEnumerator GenerateCoroutine()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
GetPipelineItemsAndPayload()
Declaration
protected abstract (List<IPipelineTask<TPayload>> pipelineItems, TPayload payload) GetPipelineItemsAndPayload()
Returns
Type |
Description |
System.ValueTuple<System.Collections.Generic.List<IPipelineTask<TPayload>>, TPayload> |
|
GetRandomNumbersGenerator(Boolean, Int32)
Declaration
protected virtual Random GetRandomNumbersGenerator(bool useRandomSeed, int seed)
Parameters
Type |
Name |
Description |
System.Boolean |
useRandomSeed |
|
System.Int32 |
seed |
|
Returns
Implements
ISerializationCallbackReceiver