C# Class EnemyScript, Holdout

Inheritance: MonoBehaviour
Datei anzeigen Open project: MaddJhin/Holdout Class Usage Examples

Public Properties

Property Type Description
attackCooldown float
attackDamage float
attackRange float
navPath GameObject
projectileSpeed float
unitType EnemyTypes

Public Methods

Method Description
Awake ( ) : void
GetNextPathNode ( ) : void
LaunchProjectile ( ) : void
OnDrawGizmosSelected ( ) : void
OnEnable ( ) : void
Pathfinding ( ) : void
Start ( ) : void
Update ( ) : void
resetProjectile ( ) : void

Private Methods

Method Description
Combat ( ) : IEnumerator
FindPlayerTarget ( RefactoredBarricade, barricadeInput ) : GameObject
GetNewOffset ( float offsetRadius, Vector3 offsetFrom ) : Vector3
MoveToTarget ( ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

GetNextPathNode() public method

public GetNextPathNode ( ) : void
return void

LaunchProjectile() public method

public LaunchProjectile ( ) : void
return void

OnDrawGizmosSelected() public method

public OnDrawGizmosSelected ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

Pathfinding() public method

public Pathfinding ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

resetProjectile() public method

public resetProjectile ( ) : void
return void

Property Details

attackCooldown public_oe property

public float attackCooldown
return float

attackDamage public_oe property

public float attackDamage
return float

attackRange public_oe property

public float attackRange
return float

navPath public_oe property

public GameObject navPath
return GameObject

projectileSpeed public_oe property

public float projectileSpeed
return float

unitType public_oe property

public EnemyTypes unitType
return EnemyTypes