C# Class CreatureAI_vision, TheUnseen

Inheritance: MonoBehaviour
Show file Open project: henryj41043/TheUnseen

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 UnityEngine.AudioClip[]
isAttacking bool
isSuperSayian bool
lightning LightningBolt,
meshRenderer Renderer
minWaypointRange float
newTarget GameObject
normal Material
randomNoiseTime float
ratioDrainPerSecond float
roars UnityEngine.AudioClip[]
runSpeed float
searchTime float
soundSource UnityEngine.AudioSource
superSayianCharge float
superSayianGlow Material
superSayianSpeedMult float
superSayianTime float
timeSearchedSoFar float
timeToWait float
visionCamera GameObject
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[],UnityEngine growls
return UnityEngine.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[],UnityEngine roars
return UnityEngine.AudioClip[]

runSpeed public property

public float runSpeed
return float

searchTime public property

public float searchTime
return float

soundSource public property

public AudioSource,UnityEngine soundSource
return UnityEngine.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

visionCamera public property

public GameObject visionCamera
return GameObject

walkSpeed public property

public float walkSpeed
return float