Property | Type | Description | |
---|---|---|---|
ID | int | ||
NullTile | |||
Paths | List
|
||
PathsInts | List
|
||
Position | Vector3 | ||
Size | Vector2 | ||
TileType | TileType | ||
Tower | |||
UnSafePaths | List
|
||
tileNeighbors | List |
||
unitIndexes | List |
Method | Description | |
---|---|---|
AddUnit ( |
||
AddUnit ( UnitType type, |
||
FindNewUnitToAttack ( ) : |
||
GetPathTo ( |
||
GetRandPoint ( ) : Vector3 | ||
GetTileType ( ) : TileType | ||
GetUnitFromTile ( ) : |
||
IsBase ( ) : bool | ||
IsNull ( ) : bool | ||
IsWalkable ( ) : bool | ||
RegisterTowerListener ( |
||
RegisterTowerListenerForTower ( |
||
RegisterTowerListenerForUnit ( |
||
RemoveBlockableObject ( ) : void | ||
RemoveTower ( ) : void | ||
RemoveUnit ( |
||
RemoveUnit ( UnitType type, |
||
SetBlockableObject ( |
||
SetTileType ( TileType tileType ) : void | ||
SetTower ( |
||
SyncPathFor ( int t ) : void | ||
Tile ( ) : System | ||
Tile ( int id, Vector3 position, Vector2 size ) : System |
Represents a tile of a tile map
|
|
Tile ( int id, Vector3 position, Vector2 size, TileType tileType ) : System | ||
ToString ( ) : string | ||
UnregisterTowerListener ( |
||
UnregisterTowerListenerForTower ( |
||
UnregisterTowerListenerForUnit ( |
||
UpdatePathTo ( |
Method | Description | |
---|---|---|
OnTowerEnter ( |
||
OnTowerExit ( |
||
OnUnitEnter ( |
||
OnUnitEnter ( |
||
OnUnitExit ( |
public AddUnit ( |
||
unit | ||
return | void |
public AddUnit ( UnitType type, |
||
type | UnitType | |
unit | ||
return | void |
public FindNewUnitToAttack ( ) : |
||
return |
public GetUnitFromTile ( ) : |
||
return |
public RegisterTowerListener ( |
||
tower | ||
return | void |
public RegisterTowerListenerForTower ( |
||
tower | ||
return | void |
public RegisterTowerListenerForUnit ( |
||
tower | ||
return | void |
public RemoveUnit ( |
||
unit | ||
return | void |
public RemoveUnit ( UnitType type, |
||
type | UnitType | |
unit | ||
return | void |
public SetBlockableObject ( |
||
gameObject | ||
return | void |
public SetTileType ( TileType tileType ) : void | ||
tileType | TileType | |
return | void |
public SetTower ( |
||
tower | ||
return | void |
public Tile ( int id, Vector3 position, Vector2 size ) : System | ||
id | int | |
position | Vector3 | The center position of the tile |
size | Vector2 | The width and length of the tile |
return | System |
public Tile ( int id, Vector3 position, Vector2 size, TileType tileType ) : System | ||
id | int | |
position | Vector3 | |
size | Vector2 | |
tileType | TileType | |
return | System |
public UnregisterTowerListener ( |
||
tower | ||
return | void |
public UnregisterTowerListenerForTower ( |
||
tower | ||
return | void |
public UnregisterTowerListenerForUnit ( |
||
tower | ||
return | void |
public static Tile,UHSampleGame.TileSystem NullTile | ||
return |
public Tower,UHSampleGame.CoreObjects.Towers Tower | ||
return |