TagEnemyFieldOfView
class TagEnemyFieldOfView
The EnemyAITypeA field of view settings.
public class TagEnemyFieldOfView
— Constructors (1) —
Constructor | Description |
---|---|
TagEnemyFieldOfView() | Creates a new instance of TagEnemyFieldOfView. |
— Methods (10) —
Name | Description |
---|---|
float getFov() | Returns the field of view value. |
void setFov(float value) | Sets the field of view value. |
float getMaxDistance() | Returns the maximum distance of the field of view. |
void setMaxDistance(float value) | Sets the maximum field of view distance. |
float getMinDistance() | Returns the minimum distance of the field of view. |
void setMaxDistance(float value) | Sets the maximum field of view distance. |
String getTargetTag() | Returns the target tag. |
void setTargetsTag(String value) | Defines the tags of the targets. |
boolean isActive() | Returns true if TagEnemyFieldOfView is enabled, returns false if not. |
void setActive(boolean value) | Defines if TagEnemyFieldOfView will be activated or not. |