Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.PlatformerProRuleTile Class Reference
Inheritance diagram for PlatformerPro.PlatformerProRuleTile:

Classes

class  TilingRule
 

Public Member Functions

override void GetTileData (Vector3Int position, ITilemap tileMap, ref TileData tileData)
 
override bool GetTileAnimationData (Vector3Int position, ITilemap tilemap, ref TileAnimationData tileAnimationData)
 
override void RefreshTile (Vector3Int location, ITilemap tileMap)
 
bool RuleMatches (TilingRule rule, Vector3Int position, ITilemap tilemap, ref Matrix4x4 transform)
 
bool RuleMatches (TilingRule rule, Vector3Int position, ITilemap tilemap, int angle)
 
bool RuleMatches (TilingRule rule, Vector3Int position, ITilemap tilemap, bool mirrorX, bool mirrorY)
 
Vector3Int GetRotatedPos (Vector3Int original, int rotation)
 
Vector3Int GetMirroredPos (Vector3Int original, bool mirrorX, bool mirrorY)
 
override bool StartUp (Vector3Int position, ITilemap tilemap, GameObject go)
 

Public Attributes

Sprite m_DefaultSprite
 
Tile.ColliderType m_DefaultColliderType = Tile.ColliderType.Sprite
 
List< TilingRulem_TilingRules
 

Member Function Documentation

◆ GetMirroredPos()

Vector3Int PlatformerPro.PlatformerProRuleTile.GetMirroredPos ( Vector3Int  original,
bool  mirrorX,
bool  mirrorY 
)

◆ GetRotatedPos()

Vector3Int PlatformerPro.PlatformerProRuleTile.GetRotatedPos ( Vector3Int  original,
int  rotation 
)

◆ GetTileAnimationData()

override bool PlatformerPro.PlatformerProRuleTile.GetTileAnimationData ( Vector3Int  position,
ITilemap  tilemap,
ref TileAnimationData  tileAnimationData 
)

◆ GetTileData()

override void PlatformerPro.PlatformerProRuleTile.GetTileData ( Vector3Int  position,
ITilemap  tileMap,
ref TileData  tileData 
)

◆ RefreshTile()

override void PlatformerPro.PlatformerProRuleTile.RefreshTile ( Vector3Int  location,
ITilemap  tileMap 
)

◆ RuleMatches() [1/3]

bool PlatformerPro.PlatformerProRuleTile.RuleMatches ( TilingRule  rule,
Vector3Int  position,
ITilemap  tilemap,
bool  mirrorX,
bool  mirrorY 
)

◆ RuleMatches() [2/3]

bool PlatformerPro.PlatformerProRuleTile.RuleMatches ( TilingRule  rule,
Vector3Int  position,
ITilemap  tilemap,
int  angle 
)

◆ RuleMatches() [3/3]

bool PlatformerPro.PlatformerProRuleTile.RuleMatches ( TilingRule  rule,
Vector3Int  position,
ITilemap  tilemap,
ref Matrix4x4  transform 
)

◆ StartUp()

override bool PlatformerPro.PlatformerProRuleTile.StartUp ( Vector3Int  position,
ITilemap  tilemap,
GameObject  go 
)

Member Data Documentation

◆ m_DefaultColliderType

Tile.ColliderType PlatformerPro.PlatformerProRuleTile.m_DefaultColliderType = Tile.ColliderType.Sprite

◆ m_DefaultSprite

Sprite PlatformerPro.PlatformerProRuleTile.m_DefaultSprite

◆ m_TilingRules

List<TilingRule> PlatformerPro.PlatformerProRuleTile.m_TilingRules

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