Class SearchSphereObstacle
Inheritance
SearchSphereObstacle
Implements
IEntityPostInitializable
Assembly: cs.temp.dll.dll
Syntax
public class SearchSphereObstacle : MonoBehaviour, ISearchObstacle, IEntityPostInitializable
Properties
AreasMask
Declaration
public TerrainAreaMask AreasMask { get; }
Property Value
Type |
Description |
TerrainAreaMask |
|
Center
Declaration
public Vector3 Center { get; }
Property Value
globalEvent
Declaration
protected IGlobalEventPublisher globalEvent { get; }
Property Value
Type |
Description |
IGlobalEventPublisher |
|
Size
Declaration
public float Size { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
Disable()
Declaration
IsReserved(Vector3, TerrainAreaMask, Boolean)
Declaration
public bool IsReserved(Vector3 testPosition, TerrainAreaMask testAreasMask, bool playerCommand)
Parameters
Type |
Name |
Description |
Vector3 |
testPosition |
|
TerrainAreaMask |
testAreasMask |
|
Boolean |
playerCommand |
|
Returns
OnEntityPostInit(IGameManager, IEntity)
Declaration
public void OnEntityPostInit(IGameManager gameMgr, IEntity entity)
Parameters
Type |
Name |
Description |
IGameManager |
gameMgr |
|
IEntity |
entity |
|
Events
SearchObstacleDisabled
Declaration
public event CustomEventHandler<ISearchObstacle, EventArgs> SearchObstacleDisabled
Event Type
Implements
IEntityPostInitializable