TilePlus Version 5
Unity3D Tilemap Extension
Loading...
Searching...
No Matches
TilePlus.TSceneInitializer Class Reference

-—BASE CLASS-— More...

Inheritance diagram for TilePlus.TSceneInitializer:
Collaboration diagram for TilePlus.TSceneInitializer:

Public Member Functions

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

Public Attributes

bool m_AugmentDefault
 Add to any default initializer in a TSceneLayout component or ignore it.

Properties

virtual 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

-—BASE CLASS-—

Member Function Documentation

◆ Exec()

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

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.

No need to call this base class method prior to your custom code.

Implements TilePlus.ITSceneInitializer.

Member Data Documentation

◆ m_AugmentDefault

bool TilePlus.TSceneInitializer.m_AugmentDefault

Add to any default initializer in a TSceneLayout component or ignore it.

Property Documentation

◆ AugmentDefault

virtual bool TilePlus.TSceneInitializer.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.

Implements TilePlus.ITSceneInitializer.


The documentation for this class was generated from the following file:
  • /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/FabAndZone/ScriptableObjects/TSceneInitializer.cs