Property | Type | Description | |
---|---|---|---|
baseAttack | bool | ||
changeCollider | bool | ||
destroyAfter | float | ||
destroyOnCollision | bool | ||
destroyOnDamage | bool | ||
dmgEvery | float | ||
expand | float | ||
itemID | int[] | ||
singleDamage | bool | ||
singleEnemy | bool | ||
skillID | int[] | ||
type | DamageDealerType |
Method | Description | |
---|---|---|
AddItem ( ) : void | ||
AddSkill ( ) : void | ||
Awake ( ) : void | ||
CheckOrigin ( Transform t ) : bool | ||
OnCollisionEnter ( Collision collision ) : void | ||
OnCollisionExit ( Collision collision ) : void | ||
OnCollisionStay ( Collision collision ) : void | ||
OnTriggerEnter ( Collider collider ) : void | ||
OnTriggerExit ( Collider collider ) : void | ||
OnTriggerStay ( Collider collider ) : void | ||
RemoveItem ( int index ) : void | ||
RemoveSkill ( int index ) : void | ||
SetAction ( BattleAction, a ) : void | ||
SetAudioClip ( |
||
SetDamageActive ( bool dmg ) : void | ||
SetPrefab ( GameObject p, float t ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
DoDamage ( GameObject obj, Vector3 position, Quaternion rotation ) : void |
public OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
return | void |
public OnCollisionExit ( Collision collision ) : void | ||
collision | Collision | |
return | void |
public OnCollisionStay ( Collision collision ) : void | ||
collision | Collision | |
return | void |
public OnTriggerEnter ( Collider collider ) : void | ||
collider | Collider | |
return | void |
public OnTriggerExit ( Collider collider ) : void | ||
collider | Collider | |
return | void |
public OnTriggerStay ( Collider collider ) : void | ||
collider | Collider | |
return | void |
public SetAudioClip ( |
||
a | ||
v | float | |
min | float | |
max | float | |
p | float | |
arm | AudioRolloffMode | |
return | void |
public SetPrefab ( GameObject p, float t ) : void | ||
p | GameObject | |
t | float | |
return | void |