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

This is a base class for any TilePlus Tile. It implements all of the interfaces required by ITilePlus, with many virtual methods so you can override to add functionality as desired. It's inadvisable to change anything in this file. More...

Inheritance diagram for TilePlus.TilePlusBase:
Collaboration diagram for TilePlus.TilePlusBase:

Public Member Functions

override bool StartUp (Vector3Int position, ITilemap tilemap, GameObject go)
 Tiles can be in three states: Asset, Clone, Locked. See the Programmer's Guide for more info. NOTE: if overriding this BE SURE to call this base method as the FIRST thing you do! Note the return value and return FALSE if this base method returns FALSE.
override void GetTileData (Vector3Int position, ITilemap tilemap, ref TileData tileData)
 Get data for this tile. Override of Tile. Note that Tilemap.RefreshTile calls this.
virtual void CleanUp ()
 Implement to perform cleanup. RequiresCleanup
override string ToString ()
virtual void ResetState (TileResetOperation op)
 Used to reset state variables. May need overriding in subclasses. See programmer's guide for info on overriding this.
virtual bool UpdateInstance (string[] value)
 Default inplementation of UpdateInstance.
virtual void ActivateAnimation (bool turnOn, int startingFrame=0, bool ignoreRewindingState=false)
 Turn animation on/off for tiles which support it.
Parameters
turnOntrue/false = on/off
startingFramesets the current frame to 0 (for either operation). Use -1 to inhibit.
ignoreRewindingStateif false(default) then this method does not execute when waiting for a rewind - only when one-shot is used w/rewindAfterOneShot set true
Also see AnimationSupported property. Also, when turnOn==true, the startingFrame is set prior to starting animation. When false, the startingFrame is set after stopping the animation
virtual void PauseAnimation (bool pause)
 Pause a running animation.
Parameters
pause

virtual void LoopEndedCallback ()
 Loop-ended callback handler (originates from Tilemap component)
Public Member Functions inherited from TilePlus.ITilePlus
bool ExecEventAction (UnityEngine.Object? obj)
 Exec the event action, if any.

Public Attributes

int count
 Property to get a tuple of (count, array of individually-trimmed tags). not cached.
ColliderMode m_ColliderMode = ColliderMode.NoCollider
 Used to set up the tile's collider.
SpriteClearMode m_TileSpriteClear = SpriteClearMode.Ignore
 m_TileClear controls whether or not the tile's sprite is cleared or if the tile is deleted at runtime, or nothing.
string m_Tag = string.Empty
 The tag for this tile.
OversizeSpriteMode m_OversizeSpriteMode = OversizeSpriteMode.Ignore
 How to handle oversize sprite recognition.
Vector2 m_SpriteSize = Vector2.one
 The true size of the tile sprite. See Oversize Sprite Mode.
TpTileEventActionm_EventAction
 TpTileEventAction project asset reference. May be null.
TpTileZoneActionm_ZoneAction
 TpTileZoneAction project asset reference. May be null.
bool m_ZoneIsInUse = false
 Zone capabilities active.
Public Attributes inherited from TilePlus.ITilePlus
int count
 Property to get an array of individually-trimmed tags.

Protected Member Functions

void SetColliderType (ref TileData tileData)
 Sets up colliders.

Protected Attributes

Vector3Int m_TileGridPosition = new(int.MinValue, int.MinValue, int.MinValue)
 The tile grid position gets initialized in Startup. It's initialized with 'ImpossibleGridPosition'.
Vector3Int m_LastTileGridPosition = new(int.MinValue, int.MinValue, int.MinValue)
 The previous tile grid position.
Tilemap? m_LastParentMap
 The previous parent Tilemap.
bool m_TileGridPosHasChanged
 True if the tile grid position has changed.
bool m_ParentTilemapHasChanged
 Parent tilemap has changed if true.
Tilemap? m_ParentTilemap
 Parent tile map is initialized in Startup.
BoundsInt m_ZoneBoundsInt = new(Vector3Int.zero,new Vector3Int(3,3,1))
 BoundsInt of trigger zone. Initialized to a 3x3 area centered at the Tile's location.

Properties

bool SpriteShouldBeCleared [get]
 Returns true if tile sprite should be cleared based on setting of TileSpriteClear field, tile state, and whether in Play mode or not.
byte?[] TileGuidBytes [get, set]
 The clone's GUID. Note that IDs are individual for each clone. This value can only be set once. Calling ResetState allows it to be changed until the next StartUp. If a new GUID isn't added before StartUp then that method will add it. For example: see TpLib.CopyAndPasteTile Note: generally speaking, don't reset the GUID.
string TileName [get]
TilePlusBase ThisTileInstance [get]
 Get the tile's instance thru this interface.
int Id [get]
 Id of tile. Nominally GetInstanceId. Default returns 0.
bool GetTileDataHasRun [get]
 TRUE if GetTileData has run. If this is false when TpLib.RegisterTilePlus is executed then TpLib checks to see if the tile's sprite needs to be affected. See that code for an explanation.
static Vector3Int ImpossibleGridPosition = new(int.MinValue, int.MinValue, int.MinValue) [get]
 No tile will ever be here!
Vector3Int TileGridPosition [get]
 This is the tile grid position as set from StartUp. Intentionally non-virtual. Does not need (and should not have) serialized backing field. Note that backing field is initialized to "Impossible Grid Position".
Vector3 TileWorldPosition [get]
 Handy property to get the world position from the TileGridPosition property. returns Vector3.negativeInfinity for error SO CHECK FOR THAT! note: returns cell center as world position.
Vector3Int LastTileGridPosition [get]
 Get the last tile grid position Note that backing field is initialized to "Impossible Grid Position".
Tilemap? LastParentTilemap [get]
 Get the last parent Tilemap. Note that backing firld is initialized to NULL.
bool TileGridPosHasChanged [get]
 Has the tile position changed since the last StartUp?
bool ParentTilemapHasChanged [get]
 Has the tile's parent tilemap changed since the last StartUp?
Tilemap? ParentTilemap [get]
 Parent tilemap for this tile (set in clone). Intentionally non-virtual. Does not need (and should not have) serialized backing field.
int ParentTilemapInstanceId [get]
 The instance ID of the parent tilemap.
bool AnimationIsPaused [get]
 Property to determine if animation is PAUSED.
virtual bool IsOneShotWaitingToRewind [get]
 Override in any animated tiles.
bool TileAnimationActive [get]
 Property to determine if animation is running in the tile. Note: running=true and paused=true is fine.
bool AnimationIsRunning [get]
 Property to determine if Tile animation is ACTIVE and not paused: IE actual animation is running.
bool IsClone [get]
 Is this a clone? Read-only.
bool IsAsset [get]
 Is this an asset? Read-only.
bool IsLocked [get]
 Is this a locked tile? Read-only.
bool IsPaletteTile [get, set]
 Valid only in-editor, is this tile from the Palette?
string TileStateString [get]
 String version of TileState.
Guid TileGuid [get]
 Get the tile's GUID as a GUID struct.
string TileGuidString [get]
 The clone's GUID as a string.
int string[] tags TrimmedTags [get]
virtual bool RequiresCleanup [get]
 If a particular tile requires special cleanup prior to deletion, EXPLICITLY implement this method and return TRUE. TpZoneAnimator
bool SanityCheck [get]
 If handling an animation callback, this is useful to ensure that the TPT tile instance is actually still attached to a Tilemap and not just transiently sitting in memory (ie deleted but not yet purged from a List or HashSet somewhere.
static TpTweener TweenerService [get]
 GET a reference to the tweener service. It's only used by TilePlus tiles.
virtual ColliderMode TileColliderMode [get, set]
 Used to set up the tile's collider.
SpriteClearMode TileSpriteClear [get, set]
 Get the the tile sprite clear mode.
string Tag [get, set]
 Property to get the optional tag.
OversizeSpriteMode OversizeSpriteMode [get]
 This is used by the PositionDb to calculate the actual size of a sprite when determining if a position is occupied.
Vector2 SpriteSize [get]
 What is the size of the sprite? Override when implementing OversizeSpriteMode.
TpTileEventActionEventAction [get]
 A TpTileEventAction.
virtual ? object EventActionObject [get, set]
TpTileZoneActionZoneAction [get]
 A TpTileZoneAction.
BoundsInt ZoneBoundsInt [get, set]
 The BoundsInt for the zone.
Bounds ZoneBounds [get]
 A bounds based on the ZoneBoundsInt.
Properties inherited from TilePlus.ITilePlus
Scene ParentScene [get]
 Return the scene that the Tile is in. Only works on a placed tile; on a non-cloned tile it should return default Note: check the return value for Scene.IsValid.
bool IsComputeOnly [get]
 Indicate that this tile is 'compute only'.
GameObject? InstantiatedGameObject [get]
 Get the GameObject of the tile. Convenience, saves casting in editors.
bool AnimationSupported [get]
 This tile supports animation if true.

Detailed Description

This is a base class for any TilePlus Tile. It implements all of the interfaces required by ITilePlus, with many virtual methods so you can override to add functionality as desired. It's inadvisable to change anything in this file.

Member Function Documentation

◆ ActivateAnimation()

virtual void TilePlus.TilePlusBase.ActivateAnimation ( bool turnOn,
int startingFrame = 0,
bool ignoreRewindingState = false )
virtual

Turn animation on/off for tiles which support it.

Parameters
turnOntrue/false = on/off
startingFramesets the current frame to 0 (for either operation). Use -1 to inhibit.
ignoreRewindingStateif false(default) then this method does not execute when waiting for a rewind - only when one-shot is used w/rewindAfterOneShot set true
Also see AnimationSupported property. Also, when turnOn==true, the startingFrame is set prior to starting animation. When false, the startingFrame is set after stopping the animation

Implements TilePlus.ITilePlus.

Reimplemented in TilePlus.TpAnimatedTile, and TilePlus.TpFlexAnimatedTile.

◆ CleanUp()

virtual void TilePlus.TilePlusBase.CleanUp ( )
virtual

Implement to perform cleanup. RequiresCleanup

Implements TilePlus.ITilePlus.

Reimplemented in TilePlus.TpZoneAnimator.

◆ GetTileData()

override void TilePlus.TilePlusBase.GetTileData ( Vector3Int position,
ITilemap tilemap,
ref TileData tileData )

Get data for this tile. Override of Tile. Note that Tilemap.RefreshTile calls this.

Parameters
positionThe position.
tilemapThe tilemap.
tileDataThe tile data.

See subclasses for how to override. Note that the order of execution for GetTileData is BEFORE StartUp

◆ LoopEndedCallback()

virtual void TilePlus.TilePlusBase.LoopEndedCallback ( )
virtual

Loop-ended callback handler (originates from Tilemap component)

Implements TilePlus.ITilePlus.

Reimplemented in TilePlus.TpAnimatedTile, and TilePlus.TpFlexAnimatedTile.

◆ PauseAnimation()

virtual void TilePlus.TilePlusBase.PauseAnimation ( bool pause)
virtual

Pause a running animation.

Parameters
pause

Implements TilePlus.ITilePlus.

Reimplemented in TilePlus.TpAnimatedTile, and TilePlus.TpFlexAnimatedTile.

◆ ResetState()

virtual void TilePlus.TilePlusBase.ResetState ( TileResetOperation op)
virtual

Used to reset state variables. May need overriding in subclasses. See programmer's guide for info on overriding this.

Parameters
opThe type of reset operation

op=Restore is used only in editor mode, when picked tiles are painted. As the picked tiles are moved around the map, their Startup is called many times by Editor code, placing incorrect grid position and possible incorrect map refs in m_TileGridPosition and m_ParentTilemap.

Implements TilePlus.ITilePlus.

Reimplemented in TilePlus.TpAnimatedSpawner, TilePlus.TpAnimZoneLoader, TilePlus.TpAnimZoneSpawner, TilePlus.TpFlexAnimatedTile, TilePlus.TpTweenerFlexTile, TilePlus.TpTweenSpecSequenceTile, and TilePlus.TpTweenSpecTile.

◆ SetColliderType()

void TilePlus.TilePlusBase.SetColliderType ( ref TileData tileData)
protected

Sets up colliders.

Parameters
tileDataref to the tileData

◆ StartUp()

override bool TilePlus.TilePlusBase.StartUp ( Vector3Int position,
ITilemap tilemap,
GameObject go )

Tiles can be in three states: Asset, Clone, Locked. See the Programmer's Guide for more info. NOTE: if overriding this BE SURE to call this base method as the FIRST thing you do! Note the return value and return FALSE if this base method returns FALSE.

Parameters
positionPosition of the Tile on the Tilemap.
tilemapThe Tilemap the tile is present on.
goThe GameObject instantiated for the Tile.
Returns
Whether the call was successful.

Note that the order of execution for StartUp is AFTER GetTileData. Note that the gameObject passed-in to StartUp is in the Scene. Explanation: In GetTileData, the gameObject to instantiate is being provided to the TileMap. Here, that instantiated GO is being passed in to this method. so the go referred to here is the actual GameObject in the scene and not the asset.

◆ ToString()

override string TilePlus.TilePlusBase.ToString ( )

◆ UpdateInstance()

virtual bool TilePlus.TilePlusBase.UpdateInstance ( string[] value)
virtual

Default inplementation of UpdateInstance.

an array of field names that have been changed in the Editor via the ImGuiTileEditor module

Returns
TRUE if the modification should cause a OnTpLibChanged event with DbChangedArgs.ChangeType.Modified

when this is called as base, be sure to OR with the returned value if your override wants to return false.

when TRUE is returned any clients of the OnTpLibChanged event need to handle all the appropriate cases. See TilePlusViewer for an example.

NOTE: changes to Tags are handled in TpLib.

Reimplemented in TilePlus.TpFlexAnimatedTile, and TilePlus.TpSlideShow.

Member Data Documentation

◆ count

int TilePlus.TilePlusBase.count

Property to get a tuple of (count, array of individually-trimmed tags). not cached.

returns null if there are no tags, or an empty list if all trimmed tags eval to empty>

◆ m_ColliderMode

ColliderMode TilePlus.TilePlusBase.m_ColliderMode = ColliderMode.NoCollider

Used to set up the tile's collider.

◆ m_EventAction

TpTileEventAction? TilePlus.TilePlusBase.m_EventAction

TpTileEventAction project asset reference. May be null.

◆ m_LastParentMap

Tilemap? TilePlus.TilePlusBase.m_LastParentMap
protected

The previous parent Tilemap.

◆ m_LastTileGridPosition

Vector3Int TilePlus.TilePlusBase.m_LastTileGridPosition = new(int.MinValue, int.MinValue, int.MinValue)
protected

The previous tile grid position.

◆ m_OversizeSpriteMode

OversizeSpriteMode TilePlus.TilePlusBase.m_OversizeSpriteMode = OversizeSpriteMode.Ignore

How to handle oversize sprite recognition.

◆ m_ParentTilemap

Tilemap? TilePlus.TilePlusBase.m_ParentTilemap
protected

Parent tile map is initialized in Startup.

◆ m_ParentTilemapHasChanged

bool TilePlus.TilePlusBase.m_ParentTilemapHasChanged
protected

Parent tilemap has changed if true.

◆ m_SpriteSize

Vector2 TilePlus.TilePlusBase.m_SpriteSize = Vector2.one

The true size of the tile sprite. See Oversize Sprite Mode.

◆ m_Tag

string TilePlus.TilePlusBase.m_Tag = string.Empty

The tag for this tile.

◆ m_TileGridPosHasChanged

bool TilePlus.TilePlusBase.m_TileGridPosHasChanged
protected

True if the tile grid position has changed.

◆ m_TileGridPosition

Vector3Int TilePlus.TilePlusBase.m_TileGridPosition = new(int.MinValue, int.MinValue, int.MinValue)
protected

The tile grid position gets initialized in Startup. It's initialized with 'ImpossibleGridPosition'.

◆ m_TileSpriteClear

SpriteClearMode TilePlus.TilePlusBase.m_TileSpriteClear = SpriteClearMode.Ignore

m_TileClear controls whether or not the tile's sprite is cleared or if the tile is deleted at runtime, or nothing.

◆ m_ZoneAction

TpTileZoneAction? TilePlus.TilePlusBase.m_ZoneAction

TpTileZoneAction project asset reference. May be null.

inheritdoc />

◆ m_ZoneBoundsInt

BoundsInt TilePlus.TilePlusBase.m_ZoneBoundsInt = new(Vector3Int.zero,new Vector3Int(3,3,1))
protected

BoundsInt of trigger zone. Initialized to a 3x3 area centered at the Tile's location.

◆ m_ZoneIsInUse

bool TilePlus.TilePlusBase.m_ZoneIsInUse = false

Zone capabilities active.

Property Documentation

◆ AnimationIsPaused

bool TilePlus.TilePlusBase.AnimationIsPaused
get

Property to determine if animation is PAUSED.

true if animation is paused

Checking the tile's PAUSE flag

Implements TilePlus.ITilePlus.

◆ AnimationIsRunning

bool TilePlus.TilePlusBase.AnimationIsRunning
get

Property to determine if Tile animation is ACTIVE and not paused: IE actual animation is running.

Implements TilePlus.ITilePlus.

◆ EventAction

TpTileEventAction? TilePlus.TilePlusBase.EventAction
get

◆ EventActionObject

virtual ? object TilePlus.TilePlusBase.EventActionObject
getset

If a tile is using TpEvents to pass events to a EventAction and said tile wants to include an arbitrary data object, make it available through this property. It will be passed to the event action in the 'obj' input parameter. TpUiButtonEventAction.Exec

The default value if not overridden or overwritten is string.empty, m_ZoneBoundsInt, this (i.e., this tile).

Implements TilePlus.ITilePlus.

◆ GetTileDataHasRun

bool TilePlus.TilePlusBase.GetTileDataHasRun
get

TRUE if GetTileData has run. If this is false when TpLib.RegisterTilePlus is executed then TpLib checks to see if the tile's sprite needs to be affected. See that code for an explanation.

◆ Id

int TilePlus.TilePlusBase.Id
get

Id of tile. Nominally GetInstanceId. Default returns 0.

Implements TilePlus.ITilePlus.

◆ ImpossibleGridPosition

Vector3Int TilePlus.TilePlusBase.ImpossibleGridPosition = new(int.MinValue, int.MinValue, int.MinValue)
staticget

No tile will ever be here!

An impossible grid position.

This is essentially a constant

◆ IsAsset

bool TilePlus.TilePlusBase.IsAsset
get

Is this an asset? Read-only.

true if this instance is asset; otherwise, false.

Implements TilePlus.ITilePlus.

◆ IsClone

bool TilePlus.TilePlusBase.IsClone
get

Is this a clone? Read-only.

true if this instance is clone; otherwise, false.

Implements TilePlus.ITilePlus.

◆ IsLocked

bool TilePlus.TilePlusBase.IsLocked
get

Is this a locked tile? Read-only.

true if this instance is locked; otherwise, false.

Locked means that the tile is no longer a scene object, it's from an asset file.

Implements TilePlus.ITilePlus.

◆ IsOneShotWaitingToRewind

virtual bool TilePlus.TilePlusBase.IsOneShotWaitingToRewind
get

Override in any animated tiles.

Implements TilePlus.ITilePlus.

◆ IsPaletteTile

bool TilePlus.TilePlusBase.IsPaletteTile
getset

Valid only in-editor, is this tile from the Palette?

◆ LastParentTilemap

Tilemap? TilePlus.TilePlusBase.LastParentTilemap
get

Get the last parent Tilemap. Note that backing firld is initialized to NULL.

Implements TilePlus.ITilePlus.

◆ LastTileGridPosition

Vector3Int TilePlus.TilePlusBase.LastTileGridPosition
get

Get the last tile grid position Note that backing field is initialized to "Impossible Grid Position".

The last tile grid position.

Implements TilePlus.ITilePlus.

◆ OversizeSpriteMode

OversizeSpriteMode TilePlus.TilePlusBase.OversizeSpriteMode
get

This is used by the PositionDb to calculate the actual size of a sprite when determining if a position is occupied.

Implements TilePlus.ITilePlus.

◆ ParentTilemap

Tilemap? TilePlus.TilePlusBase.ParentTilemap
get

Parent tilemap for this tile (set in clone). Intentionally non-virtual. Does not need (and should not have) serialized backing field.

The parent tilemap.

Implements TilePlus.ITilePlus.

◆ ParentTilemapHasChanged

bool TilePlus.TilePlusBase.ParentTilemapHasChanged
get

Has the tile's parent tilemap changed since the last StartUp?

true if the tile's parent tilemap has changed; otherwise, false.

Implements TilePlus.ITilePlus.

◆ ParentTilemapInstanceId

int TilePlus.TilePlusBase.ParentTilemapInstanceId
get

The instance ID of the parent tilemap.

Implements TilePlus.ITilePlus.

◆ RequiresCleanup

virtual bool TilePlus.TilePlusBase.RequiresCleanup
get

If a particular tile requires special cleanup prior to deletion, EXPLICITLY implement this method and return TRUE. TpZoneAnimator

Implements TilePlus.ITilePlus.

◆ SanityCheck

bool TilePlus.TilePlusBase.SanityCheck
get

If handling an animation callback, this is useful to ensure that the TPT tile instance is actually still attached to a Tilemap and not just transiently sitting in memory (ie deleted but not yet purged from a List or HashSet somewhere.

◆ SpriteShouldBeCleared

bool TilePlus.TilePlusBase.SpriteShouldBeCleared
getprotected

Returns true if tile sprite should be cleared based on setting of TileSpriteClear field, tile state, and whether in Play mode or not.

true if the sprite should be cleared.

◆ SpriteSize

Vector2 TilePlus.TilePlusBase.SpriteSize
get

What is the size of the sprite? Override when implementing OversizeSpriteMode.

Implements TilePlus.ITilePlus.

◆ Tag

string TilePlus.TilePlusBase.Tag
getset

Property to get the optional tag.

The tag.

Implements TilePlus.ITilePlus.

◆ ThisTileInstance

TilePlusBase TilePlus.TilePlusBase.ThisTileInstance
get

Get the tile's instance thru this interface.

inheritdoc/>

Implements TilePlus.ITilePlus.

◆ TileAnimationActive

bool TilePlus.TilePlusBase.TileAnimationActive
get

Property to determine if animation is running in the tile. Note: running=true and paused=true is fine.

Implements TilePlus.ITilePlus.

◆ TileColliderMode

virtual ColliderMode TilePlus.TilePlusBase.TileColliderMode
getset

Used to set up the tile's collider.

The tile collider mode.

Implements TilePlus.ITilePlus.

◆ TileGridPosHasChanged

bool TilePlus.TilePlusBase.TileGridPosHasChanged
get

Has the tile position changed since the last StartUp?

true if the tile's grid position has changed; otherwise, false.

Implements TilePlus.ITilePlus.

◆ TileGridPosition

Vector3Int TilePlus.TilePlusBase.TileGridPosition
get

This is the tile grid position as set from StartUp. Intentionally non-virtual. Does not need (and should not have) serialized backing field. Note that backing field is initialized to "Impossible Grid Position".

The tile grid position.

Implements TilePlus.ITilePlus.

◆ TileGuid

Guid TilePlus.TilePlusBase.TileGuid
get

Get the tile's GUID as a GUID struct.

The tile unique identifier.

Implements TilePlus.ITilePlus.

◆ TileGuidBytes

byte? [] TilePlus.TilePlusBase.TileGuidBytes
getset

The clone's GUID. Note that IDs are individual for each clone. This value can only be set once. Calling ResetState allows it to be changed until the next StartUp. If a new GUID isn't added before StartUp then that method will add it. For example: see TpLib.CopyAndPasteTile Note: generally speaking, don't reset the GUID.

The tile unique identifier bytes.

Guid isn't serializable but byte[] is.

Implements TilePlus.ITilePlus.

◆ TileGuidString

string TilePlus.TilePlusBase.TileGuidString
get

The clone's GUID as a string.

The tile unique identifier string.

Implements TilePlus.ITilePlus.

◆ TileName

string TilePlus.TilePlusBase.TileName
get

◆ TileSpriteClear

SpriteClearMode TilePlus.TilePlusBase.TileSpriteClear
getset

Get the the tile sprite clear mode.

The SpriteClearMode value.

default implementation in interface returns SpriteClearMode.Ignore

Implements TilePlus.ITilePlus.

◆ TileStateString

string TilePlus.TilePlusBase.TileStateString
get

String version of TileState.

The tile state string.

Implements TilePlus.ITilePlus.

◆ TileWorldPosition

Vector3 TilePlus.TilePlusBase.TileWorldPosition
get

Handy property to get the world position from the TileGridPosition property. returns Vector3.negativeInfinity for error SO CHECK FOR THAT! note: returns cell center as world position.

The tile world position.

Implements TilePlus.ITilePlus.

◆ TrimmedTags

int string [] tags TilePlus.TilePlusBase.TrimmedTags
get

Implements TilePlus.ITilePlus.

◆ TweenerService

TpTweener TilePlus.TilePlusBase.TweenerService
staticgetprotected

GET a reference to the tweener service. It's only used by TilePlus tiles.

Tweener requires no special init.

◆ ZoneAction

TpTileZoneAction? TilePlus.TilePlusBase.ZoneAction
get

◆ ZoneBounds

Bounds TilePlus.TilePlusBase.ZoneBounds
get

A bounds based on the ZoneBoundsInt.

The zone bounds.

Implements TilePlus.ITilePlus.

◆ ZoneBoundsInt

BoundsInt TilePlus.TilePlusBase.ZoneBoundsInt
getset

The BoundsInt for the zone.

boundsint for zone.

Implements TilePlus.ITilePlus.


The documentation for this class was generated from the following files:
  • /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/Tiles/Base/Editor/TilePlusBaseEditor.cs
  • /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/Tiles/Base/TilePlusBase.cs
  • /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/Tiles/Base/TilePlusBaseData.cs
  • /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/Tiles/Base/TilePlusBaseStubs.cs