Interface ITargetTracker
Assembly: NeoFPS.dll
Syntax
public interface ITargetTracker
Properties
hasTarget
Declaration
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
ClearTarget()
Declaration
SetTargetCollider(Collider)
Declaration
void SetTargetCollider(Collider target)
Parameters
| Type |
Name |
Description |
| Collider |
target |
|
SetTargetPosition(Vector3)
Declaration
void SetTargetPosition(Vector3 target)
Parameters
| Type |
Name |
Description |
| Vector3 |
target |
|
Declaration
void SetTargetTransform(Transform target)
Parameters
| Type |
Name |
Description |
| Transform |
target |
|
Declaration
void SetTargetTransform(Transform target, Vector3 offset, bool worldOffset)
Parameters
| Type |
Name |
Description |
| Transform |
target |
|
| Vector3 |
offset |
|
| System.Boolean |
worldOffset |
|
Events
onDestroyed
Declaration
event UnityAction<ITargetTracker> onDestroyed
Event Type