TilePlus Version 5
Unity3D Tilemap Extension
Loading...
Searching...
No Matches
TilePlus.ITSceneInitializer Interface Reference

Interface to use for TSceneInitilizers. More...

Inheritance diagram for TilePlus.ITSceneInitializer:

Public Member Functions

bool Exec (TSceneList.TSceneSpec tSceneSpec, TpZoneLayout zoneLayout, TpChunkedSceneManager sceneManager, Func< TSceneList.TSceneSpec, TpZoneLayout, object?, object >? callback)
 Execute.

Properties

bool AugmentDefault [get]
 If true, execute the default Initializer from the TSceneLayout first, then this one. If false, ignore he default Initializer from the TSceneLayout. If true and there's no default Initializer in the TSceneLayout a warning should be issued. If an Initializer instance in the TSceneLayout has this property = true, that's ignored.

Detailed Description

Interface to use for TSceneInitilizers.

Member Function Documentation

◆ Exec()

bool TilePlus.ITSceneInitializer.Exec ( TSceneList.TSceneSpec tSceneSpec,
TpZoneLayout zoneLayout,
TpChunkedSceneManager sceneManager,
Func< TSceneList.TSceneSpec, TpZoneLayout, object?, object >? callback )

Execute.

Parameters
tSceneSpecSceneSpec being interpreted
zoneLayoutThe specific ZoneLayout being operated on.
sceneManagerreference to the SceneManager component
callbackAn optional callback which gets the SceneSpec, the SceneLayout, an arbitrary object, and returns an arbitrary object.
Returns
false if failure of some kind.

Implemented in TilePlus.TSceneInitializer.

Property Documentation

◆ AugmentDefault

bool TilePlus.ITSceneInitializer.AugmentDefault
get

If true, execute the default Initializer from the TSceneLayout first, then this one. If false, ignore he default Initializer from the TSceneLayout. If true and there's no default Initializer in the TSceneLayout a warning should be issued. If an Initializer instance in the TSceneLayout has this property = true, that's ignored.

Implemented in TilePlus.TSceneInitializer.


The documentation for this interface was generated from the following file: