Cell
Class in Nostalgia / Inherits from: Nostalgia.Internal.SerializeVersion
Implements interfaces: System.IEquatable<Cell>
Description
Cell data are arranged on the grid.
Constructors
Description | |
---|---|
Cell | Initializes a new instance of the Cell class. |
Fields
Field Name | Description |
---|---|
collider | The collider. |
map | Map |
partsID | The parts ID. |
position | The position. |
tile | Tile reference value |
tileIDObsolete | The tile index. |
tilePos | Position within the Tile. |
Properties
Property Name | Description |
---|---|
cellObject | Get / Set the CellObject |
hasCellObject | Whether or not you have a CellObject |
Events
Event Name | Description |
---|---|
destroyCallback | Event that is called when the Cell is destroyed |
Methods
Method Name | Description |
---|---|
CheckCombineMesh | It determines whether or not to join the mesh |
Equals | Determine if the Cells are equal. |
GetHashCode | Get the hash code. |
GetPartsIndex | Gets the index of the parts. |
GetVertexColor | Gets the color of the vertex. |
SetPartsIndex | Sets the index of the parts. |
SetVertexColor | Sets the color of the vertex. |
TryGetVertexColor | Gets the color of the vertex. |
Static Methods
Method Name | Description |
---|---|
GetPartsIndex | Gets the index of the parts. |
SetPartsIndex | Sets the index of the parts. |
Operators
Operator Name | Description |
---|---|
operator != | Determine if the Cells are not equal. |
operator == | Determine if the Cells are equal. |
Delegates
Type Name | Description |
---|---|
DestroyCallbackFunction | Delegate method that is called when the Cell is destroyed |