C# Class CreatureAI, TheUnseen

Inheritance: MonoBehaviour
Show file Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
SSChargeDecrease float
absorbingSound UnityEngine.AudioClip
attackDamage int
attackRange float
attackSound UnityEngine.AudioClip
attackSpeed float
chaseSpeed float
checkProgressTime float
currentState States,
currentTarget GameObject
currentWaypoint GameObject
drainRange float
growls AudioClip[]
isAttacking bool
isSuperSayian bool
lightning LightningBolt
meshRenderer Renderer
minWaypointRange float
newTarget GameObject
normal Material
randomNoiseTime float
ratioDrainPerSecond float
roars AudioClip[]
runSpeed float
searchTime float
soundSource AudioSource
superSayianCharge float
superSayianGlow Material
superSayianSpeedMult float
superSayianTime float
timeSearchedSoFar float
timeToWait float
walkSpeed float

Public Methods

Method Description
Attack ( GameObject target ) : IEnumerator
Awake ( ) : void
CanDrain ( GameObject obj ) : bool
GetNearestWaypoint ( ) : void
Update ( ) : void
UpdateAnimations ( ) : void

Private Methods

Method Description
GetNewestTarget ( ) : GameObject
getValue ( GameObject obj ) : float

Method Details

Attack() public method

public Attack ( GameObject target ) : IEnumerator
target GameObject
return IEnumerator

Awake() public method

public Awake ( ) : void
return void

CanDrain() public method

public CanDrain ( GameObject obj ) : bool
obj GameObject
return bool

GetNearestWaypoint() public method

public GetNearestWaypoint ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateAnimations() public method

public UpdateAnimations ( ) : void
return void

Property Details

SSChargeDecrease public property

public float SSChargeDecrease
return float

absorbingSound public property

public AudioClip,UnityEngine absorbingSound
return UnityEngine.AudioClip

attackDamage public property

public int attackDamage
return int

attackRange public property

public float attackRange
return float

attackSound public property

public AudioClip,UnityEngine attackSound
return UnityEngine.AudioClip

attackSpeed public property

public float attackSpeed
return float

chaseSpeed public property

public float chaseSpeed
return float

checkProgressTime public property

public float checkProgressTime
return float

currentState public property

public States, currentState
return States,

currentTarget public property

public GameObject currentTarget
return GameObject

currentWaypoint public property

public GameObject currentWaypoint
return GameObject

drainRange public property

public float drainRange
return float

growls public property

public AudioClip[] growls
return AudioClip[]

isAttacking public property

public bool isAttacking
return bool

isSuperSayian public property

public bool isSuperSayian
return bool

lightning public property

public LightningBolt lightning
return LightningBolt

meshRenderer public property

public Renderer meshRenderer
return Renderer

minWaypointRange public property

public float minWaypointRange
return float

newTarget public property

public GameObject newTarget
return GameObject

normal public property

public Material normal
return Material

randomNoiseTime public property

public float randomNoiseTime
return float

ratioDrainPerSecond public property

public float ratioDrainPerSecond
return float

roars public property

public AudioClip[] roars
return AudioClip[]

runSpeed public property

public float runSpeed
return float

searchTime public property

public float searchTime
return float

soundSource public property

public AudioSource soundSource
return AudioSource

superSayianCharge public property

public float superSayianCharge
return float

superSayianGlow public property

public Material superSayianGlow
return Material

superSayianSpeedMult public property

public float superSayianSpeedMult
return float

superSayianTime public property

public float superSayianTime
return float

timeSearchedSoFar public property

public float timeSearchedSoFar
return float

timeToWait public property

public float timeToWait
return float

walkSpeed public property

public float walkSpeed
return float