C# Class CreatureAI, TheUnseen

Inheritance: MonoBehaviour
ファイルを表示 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_oe property

public float SSChargeDecrease
return float

absorbingSound public_oe property

public AudioClip,UnityEngine absorbingSound
return UnityEngine.AudioClip

attackDamage public_oe property

public int attackDamage
return int

attackRange public_oe property

public float attackRange
return float

attackSound public_oe property

public AudioClip,UnityEngine attackSound
return UnityEngine.AudioClip

attackSpeed public_oe property

public float attackSpeed
return float

chaseSpeed public_oe property

public float chaseSpeed
return float

checkProgressTime public_oe property

public float checkProgressTime
return float

currentState public_oe property

public States, currentState
return States,

currentTarget public_oe property

public GameObject currentTarget
return GameObject

currentWaypoint public_oe property

public GameObject currentWaypoint
return GameObject

drainRange public_oe property

public float drainRange
return float

growls public_oe property

public AudioClip[] growls
return AudioClip[]

isAttacking public_oe property

public bool isAttacking
return bool

isSuperSayian public_oe property

public bool isSuperSayian
return bool

lightning public_oe property

public LightningBolt lightning
return LightningBolt

meshRenderer public_oe property

public Renderer meshRenderer
return Renderer

minWaypointRange public_oe property

public float minWaypointRange
return float

newTarget public_oe property

public GameObject newTarget
return GameObject

normal public_oe property

public Material normal
return Material

randomNoiseTime public_oe property

public float randomNoiseTime
return float

ratioDrainPerSecond public_oe property

public float ratioDrainPerSecond
return float

roars public_oe property

public AudioClip[] roars
return AudioClip[]

runSpeed public_oe property

public float runSpeed
return float

searchTime public_oe property

public float searchTime
return float

soundSource public_oe property

public AudioSource soundSource
return AudioSource

superSayianCharge public_oe property

public float superSayianCharge
return float

superSayianGlow public_oe property

public Material superSayianGlow
return Material

superSayianSpeedMult public_oe property

public float superSayianSpeedMult
return float

superSayianTime public_oe property

public float superSayianTime
return float

timeSearchedSoFar public_oe property

public float timeSearchedSoFar
return float

timeToWait public_oe property

public float timeToWait
return float

walkSpeed public_oe property

public float walkSpeed
return float