Table of Contents

Class PatrolPoint

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class PatrolPoint : MonoBehaviour
Inheritance
PatrolPoint
Inherited Members
Extension Methods

Constructors

PatrolPoint()

public PatrolPoint()

Fields

alwaysDrawGizmos

public bool alwaysDrawGizmos

Field Value

bool

connectedPoints

public List<PatrolPoint> connectedPoints

Field Value

List<PatrolPoint>

group

public PatrolPoint.PatrolGroup group

Field Value

PatrolPoint.PatrolGroup

spawnWeight

public float spawnWeight

Field Value

float

temporaryPoint

public bool temporaryPoint

Field Value

bool

Methods

GetClosestPoints()

public void GetClosestPoints()

GetClosestPoints_All()

public void GetClosestPoints_All()

GetColorByGroup(PatrolGroup)

public Color GetColorByGroup(PatrolPoint.PatrolGroup group)

Parameters

group PatrolPoint.PatrolGroup

Returns

Color

GetNeighbor(List<PatrolGroup>, PatrolPoint)

public PatrolPoint GetNeighbor(List<PatrolPoint.PatrolGroup> groups, PatrolPoint currentPoint)

Parameters

groups List<PatrolPoint.PatrolGroup>
currentPoint PatrolPoint

Returns

PatrolPoint

GetNeighbor(List<PatrolGroup>, PatrolPoint, Vector3)

public PatrolPoint GetNeighbor(List<PatrolPoint.PatrolGroup> groups, PatrolPoint currentPoint, Vector3 direction)

Parameters

groups List<PatrolPoint.PatrolGroup>
currentPoint PatrolPoint
direction Vector3

Returns

PatrolPoint

OnDestroy()

public void OnDestroy()

OnDrawGizmos()

public void OnDrawGizmos()

Start()

public void Start()