C# Class Patrol, astrochimps

Inheritance: MonoBehaviour
Show file Open project: arcoelho01/astrochimps Class Usage Examples

Public Properties

Property Type Description
detectAlert GameObject
enemyAround bool
markerPatrol GameObject
patrolIndex int
patrolMarkers GameObject[]
patrolPointsValid bool
patrolSet bool
patrolTarget Vector3[]
previousPatrolTarget Vector3[]
setNewPatrol bool

Public Methods

Method Description
Alerta ( ) : void
Awake ( ) : void
ChoicePatrol ( int x ) : void
Detecta ( ) : void
PatrolSet ( ) : void
Patrulha ( ) : void
RevertPatrol ( ) : void
Start ( ) : void
StartPatrol ( ) : void
Update ( ) : void

Private Methods

Method Description
LinePatrol ( ) : void
SquarePatrol ( ) : void
TrianglePatrol ( ) : void

Method Details

Alerta() public method

public Alerta ( ) : void
return void

Awake() public method

public Awake ( ) : void
return void

ChoicePatrol() public method

public ChoicePatrol ( int x ) : void
x int
return void

Detecta() public method

public Detecta ( ) : void
return void

PatrolSet() public method

public PatrolSet ( ) : void
return void

Patrulha() public method

public Patrulha ( ) : void
return void

RevertPatrol() public method

public RevertPatrol ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartPatrol() public method

public StartPatrol ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

detectAlert public property

public GameObject detectAlert
return GameObject

enemyAround public property

public bool enemyAround
return bool

markerPatrol public property

public GameObject markerPatrol
return GameObject

patrolIndex public property

public int patrolIndex
return int

patrolMarkers public property

public GameObject[] patrolMarkers
return GameObject[]

patrolPointsValid public property

public bool patrolPointsValid
return bool

patrolSet public property

public bool patrolSet
return bool

patrolTarget public property

public Vector3[] patrolTarget
return Vector3[]

previousPatrolTarget public property

public Vector3[] previousPatrolTarget
return Vector3[]

setNewPatrol public property

public bool setNewPatrol
return bool