Auxiliary class
More...
|
Transform | tileRoot |
|
int | tileOffYMax = 1 |
| The maximum height offset between two near tiles, greater than this value means that the tile is not connected More...
|
|
float | Precision = 0.01f |
| The raised height of the tile relative to other objects to prevent overlapping and causing display problems More...
|
|
float | TopDistance = 10f |
| height of raycast More...
|
|
◆ GetBounds()
virtual Bounds XSSLG.XSGridHelper.GetBounds |
( |
| ) |
|
|
inlinevirtual |
◆ GetTileNodeList()
List<XSITileNode> XSSLG.XSGridHelper.GetTileNodeList |
( |
| ) |
|
◆ GetUnitNodeList()
List<XSIUnitNode> XSSLG.XSGridHelper.GetUnitNodeList |
( |
| ) |
|
◆ SetTransToTopTerrain()
virtual bool XSSLG.XSGridHelper.SetTransToTopTerrain |
( |
Transform |
objTransform, |
|
|
bool |
closeUnit |
|
) |
| |
|
inlinevirtual |
Adjust the height of the objTransform to the top of the obstacle.
Raise the center point of objTransform by 100, and then check if there is a collision within 100. If it hits, set the height of objTransform to the position of the collision point tips:During the game, the entire scene will have a large boxcollider as the camera movement range. This collider needs to be excluded, so the height is set to 10 (lower)
◆ attackEffectTilePrefab
GameObject XSSLG.XSGridHelper.attackEffectTilePrefab |
|
private |
prefab for attack effect range
◆ attackTilePrefab
GameObject XSSLG.XSGridHelper.attackTilePrefab |
|
private |
◆ moveTilePrefab
GameObject XSSLG.XSGridHelper.moveTilePrefab |
|
private |
◆ Precision
float XSSLG.XSGridHelper.Precision = 0.01f |
|
protected |
The raised height of the tile relative to other objects to prevent overlapping and causing display problems
◆ tileOffYMax
int XSSLG.XSGridHelper.tileOffYMax = 1 |
|
protected |
The maximum height offset between two near tiles, greater than this value means that the tile is not connected
◆ tileRoot
Transform XSSLG.XSGridHelper.tileRoot |
|
protected |
◆ TopDistance
float XSSLG.XSGridHelper.TopDistance = 10f |
|
protected |
◆ unitRoot
Transform XSSLG.XSGridHelper.unitRoot |
|
private |
◆ AttackEffectTilePrefab
GameObject XSSLG.XSGridHelper.AttackEffectTilePrefab |
|
get |
◆ AttackTilePrefab
GameObject XSSLG.XSGridHelper.AttackTilePrefab |
|
get |
◆ MoveTilePrefab
GameObject XSSLG.XSGridHelper.MoveTilePrefab |
|
get |
◆ TileOffYMax
int XSSLG.XSGridHelper.TileOffYMax |
|
get |
◆ TileRoot
Transform XSSLG.XSGridHelper.TileRoot |
|
get |
◆ UnitRoot
Transform XSSLG.XSGridHelper.UnitRoot |
|
get |
The documentation for this class was generated from the following file: