TileMap Class |
Namespace: GeonBit.ECS.Components.Misc
public class TileMap : BaseComponent
The TileMap type exposes the following members.
Name | Description | |
---|---|---|
_GameObject |
Get the game object this component is attached to.
(Inherited from BaseComponent.) | |
BatchSize |
How many tiles are in a single batch (for culling optimizations).
| |
Enabled |
Is this component currently enabled.
(Inherited from BaseComponent.) | |
Name |
Get / set the name of this component.
(Inherited from IComponent.) |
Name | Description | |
---|---|---|
Clone |
Clone this component.
(Overrides BaseComponentClone.) | |
CollisionEnd |
Called when this physical body stop colliding with another body.
(Inherited from BaseComponent.) | |
CollisionProcess |
Called while this physical body is colliding with another body.
(Inherited from BaseComponent.) | |
CollisionStart |
Called when this physical body start colliding with another body.
(Inherited from BaseComponent.) | |
Destroy |
Destroy this component.
(Inherited from BaseComponent.) | |
DestroyTile |
Destroy a specific tile.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FixedUpdate |
Just like Update(), but called every constant amount of time regardless of FPS and Vsync.
(Inherited from BaseComponent.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetImplementedFrameBasedEvents |
Get a list of frame-based events this component implements.
(Inherited from BaseComponent.) | |
GetTile |
Get tile at a given index (create new tile GameObject if doesn't exist).
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasMethodImplemented |
Return if this component has a method implemented.
(Inherited from BaseComponent.) | |
Heartbeat |
An event that triggers every X miliseconds (defined per GameObject instance).
(Inherited from BaseComponent.) | |
ProcessTileBatches |
Execute a callback on all tile batches in tilemap.
| |
ProcessTiles |
Execute a callback on all tiles in tilemap.
| |
RemoveFromParent |
Remove this component from parent.
(Inherited from BaseComponent.) | |
SendMessage |
Send message to this component.
(Inherited from BaseComponent.) | |
SetTile |
Set the tile GameObject at a given index (will replace previous tile if exists).
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update |
Update this component (called every frame parent is active).
(Inherited from BaseComponent.) |
Name | Description | |
---|---|---|
AsDebug |
If true, it means this component was added to its parent in debug mode.
(Inherited from BaseComponent.) | |
TileSize |
The size of a single tile. This affect the distance between tiles (eg the position of the game objects).
|