Show / Hide Table of Contents

Class SeekAndFlee

Inheritance
MonoBehaviour
SeekAndFlee
Implements
IPauseable
Namespace: Alegra.DimSums
Assembly: cs.temp.dll.dll
Syntax
public class SeekAndFlee : MonoBehaviour, IPauseable

Fields

accelerationRate

Declaration
public float accelerationRate
Field Value
Type Description
System.Single

currentSpeed

Declaration
public float currentSpeed
Field Value
Type Description
System.Single

decelerationRate

Declaration
public float decelerationRate
Field Value
Type Description
System.Single

fleeRange

Declaration
public float fleeRange
Field Value
Type Description
System.Single

fleeTarget

Declaration
public Transform fleeTarget
Field Value
Type Description
Transform

maxSpeed

Declaration
public float maxSpeed
Field Value
Type Description
System.Single

seekTarget

Declaration
public Transform seekTarget
Field Value
Type Description
Transform

Properties

CurrentVelocity

Declaration
public Vector2 CurrentVelocity { get; }
Property Value
Type Description
Vector2

Methods

IsPauseable()

Declaration
public bool IsPauseable()
Returns
Type Description
System.Boolean

OnDrawGizmos()

Declaration
public void OnDrawGizmos()

Pause(Boolean)

Declaration
public void Pause(bool pause)
Parameters
Type Name Description
System.Boolean pause

Implements

IPauseable
Back to top Generated by DocFX