C# Class AIManager, DefendAman

Inheritance: MonoBehaviour
Exibir arquivo Open project: CarsonRoscoe/DefendAman Class Usage Examples

Public Properties

Property Type Description
AI Transform

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
getDegree ( float angle ) : float
getRad ( double angle ) : double

Private Methods

Method Description
faceClosest ( AI A ) : float
getAttack ( float newAngle, AI A ) : string

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

getDegree() public method

public getDegree ( float angle ) : float
angle float
return float

getRad() public method

public getRad ( double angle ) : double
angle double
return double

Property Details

AI public_oe property

public Transform AI
return Transform