Class KaijuTransformAgent
KaijuAgent which moves via the transform.
Inherited Members
Namespace: KaijuSolutions.Agents
Syntax
public sealed class KaijuTransformAgent : KaijuRadiusAgent
Methods
Move(Single)
Perform KaijuAgent movement. There is no point in manually calling this.
Declaration
public override void Move(float delta)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | delta | The time step. |
Overrides
Operators
Implicit(GameObject to KaijuTransformAgent)
Implicit conversion from a GameObject.
Declaration
public static implicit operator KaijuTransformAgent(GameObject o)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | o | The GameObject. |
Returns
| Type | Description |
|---|---|
| KaijuTransformAgent | The agent attached to the GameObject if there was one. |
Implicit(Transform to KaijuTransformAgent)
Implicit conversion from a transform.
Declaration
public static implicit operator KaijuTransformAgent(Transform t)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | t | The transform. |
Returns
| Type | Description |
|---|---|
| KaijuTransformAgent | The agent attached to the transform if there was one. |