Class DungeonGeneratorBaseGrid2D
Base class for various dungeon generators.
Inheritance
System.Object
DungeonGeneratorBaseGrid2D
Implements
ISerializationCallbackReceiver
Assembly: cs.temp.dll.dll
Syntax
public abstract class DungeonGeneratorBaseGrid2D : LevelGeneratorBase<DungeonGeneratorPayloadGrid2D>, ISerializationCallbackReceiver, ILevelGenerator
Fields
AdvancedConfig
Declaration
public AdvancedConfigGrid2D AdvancedConfig
Field Value
Declaration
public DungeonGeneratorInputBaseGrid2D CustomInputTask
Field Value
CustomPostProcessTasks
Declaration
public List<DungeonGeneratorPostProcessingGrid2D> CustomPostProcessTasks
Field Value
DisableCustomPostProcessing
Disable all custom post-processing tasks.
Declaration
public bool DisableCustomPostProcessing
Field Value
Type |
Description |
System.Boolean |
|
FixedLevelGraphConfig
Declaration
public FixedLevelGraphConfigGrid2D FixedLevelGraphConfig
Field Value
GenerateOnStart
Whether to generate a level on enter play mode.
Declaration
public bool GenerateOnStart
Field Value
Type |
Description |
System.Boolean |
|
GeneratorConfig
Declaration
public DungeonGeneratorConfigGrid2D GeneratorConfig
Field Value
Declaration
public DungeonGeneratorInputTypeGrid2D InputType
Field Value
OtherConfig
Declaration
public OtherConfigGrid2D OtherConfig
Field Value
PostProcessConfig
Declaration
public PostProcessingConfigGrid2D PostProcessConfig
Field Value
RandomGeneratorSeed
Which seed should be used for the random numbers generator.
Is used only when UseRandomSeed is false.
Declaration
public int RandomGeneratorSeed
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public bool ThrowExceptionsImmediately
Field Value
Type |
Description |
System.Boolean |
|
UseRandomSeed
Whether to use a random seed.
Declaration
public bool UseRandomSeed
Field Value
Type |
Description |
System.Boolean |
|
Properties
Declaration
protected override bool ThrowExceptionImmediately { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Edgar.Unity.LevelGeneratorBase<Edgar.Unity.DungeonGeneratorPayloadGrid2D>.ThrowExceptionImmediately
Methods
ExportMapDescription()
Declaration
public void ExportMapDescription()
GetGeneratorTask()
Declaration
protected virtual IPipelineTask<DungeonGeneratorPayloadGrid2D> GetGeneratorTask()
Returns
Declaration
protected virtual IPipelineTask<DungeonGeneratorPayloadGrid2D> GetInputTask()
Returns
GetPipelineItemsAndPayload()
Declaration
protected override (List<IPipelineTask<DungeonGeneratorPayloadGrid2D>> pipelineItems, DungeonGeneratorPayloadGrid2D payload) GetPipelineItemsAndPayload()
Returns
Overrides
Edgar.Unity.LevelGeneratorBase<Edgar.Unity.DungeonGeneratorPayloadGrid2D>.GetPipelineItemsAndPayload()
GetPostProcessingTask()
Declaration
protected virtual IPipelineTask<DungeonGeneratorPayloadGrid2D> GetPostProcessingTask()
Returns
GetTilemapLayersHandler()
Declaration
protected virtual Func<ITilemapLayersHandlerGrid2D> GetTilemapLayersHandler()
Returns
InitializePayload()
Declaration
protected virtual DungeonGeneratorPayloadGrid2D InitializePayload()
Returns
OnUpgradeSerializedData(Int32)
Declaration
protected override int OnUpgradeSerializedData(int version)
Parameters
Type |
Name |
Description |
System.Int32 |
version |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
Start()
Declaration
Implements
ISerializationCallbackReceiver