C# Class Patrol, astrochimps

Inheritance: MonoBehaviour
显示文件 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_oe property

public GameObject detectAlert
return GameObject

enemyAround public_oe property

public bool enemyAround
return bool

markerPatrol public_oe property

public GameObject markerPatrol
return GameObject

patrolIndex public_oe property

public int patrolIndex
return int

patrolMarkers public_oe property

public GameObject[] patrolMarkers
return GameObject[]

patrolPointsValid public_oe property

public bool patrolPointsValid
return bool

patrolSet public_oe property

public bool patrolSet
return bool

patrolTarget public_oe property

public Vector3[] patrolTarget
return Vector3[]

previousPatrolTarget public_oe property

public Vector3[] previousPatrolTarget
return Vector3[]

setNewPatrol public_oe property

public bool setNewPatrol
return bool