C# Class AI_Patrol_Air, scriptcaster

Inheritance: MonoBehaviour
Datei anzeigen Open project: crazymeeshu/scriptcaster

Public Properties

Property Type Description
Player GameObject
Target Vector2
blockChecker Transform
detectPlayer bool
detector GameObject
endSight GameObject
facingLeft bool
groundChecker Transform
inPursuit bool
isBlocked bool
isGrounded bool
patrolDistance float
patrolSpeed float
pursuitSpeed float

Public Methods

Method Description
FixedUpdate ( ) : void
Flip ( ) : void
Patrol ( ) : void
Pursuit ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
delayChange ( ) : IEnumerator

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Flip() public method

public Flip ( ) : void
return void

Patrol() public method

public Patrol ( ) : void
return void

Pursuit() public method

public Pursuit ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

Player public_oe property

public GameObject Player
return GameObject

Target public_oe property

public Vector2 Target
return Vector2

blockChecker public_oe property

public Transform blockChecker
return Transform

detectPlayer public_oe property

public bool detectPlayer
return bool

detector public_oe property

public GameObject detector
return GameObject

endSight public_oe property

public GameObject endSight
return GameObject

facingLeft public_oe property

public bool facingLeft
return bool

groundChecker public_oe property

public Transform groundChecker
return Transform

inPursuit public_oe property

public bool inPursuit
return bool

isBlocked public_oe property

public bool isBlocked
return bool

isGrounded public_oe property

public bool isGrounded
return bool

patrolDistance public_oe property

public float patrolDistance
return float

patrolSpeed public_oe property

public float patrolSpeed
return float

pursuitSpeed public_oe property

public float pursuitSpeed
return float