C# Class SlashLogic, DemonHeart

Inheritance: MonoBehaviour
显示文件 Open project: rwbysafire/DemonHeart Class Usage Examples

Public Properties

Property Type Description
attackSpeed float
damage float
enemyTag string
hitboxes UnityEngine.PolygonCollider2D[]
sprite Sprite[]

Public Methods

Method Description
OnTriggerEnter2D ( Collider2D collider ) : void
Start ( ) : void

Private Methods

Method Description
playAnimation ( float duration ) : IEnumerator

Method Details

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D collider ) : void
collider UnityEngine.Collider2D
return void

Start() public method

public Start ( ) : void
return void

Property Details

attackSpeed public_oe property

public float attackSpeed
return float

damage public_oe property

public float damage
return float

enemyTag public_oe property

public string enemyTag
return string

hitboxes public_oe property

public PolygonCollider2D[],UnityEngine hitboxes
return UnityEngine.PolygonCollider2D[]

sprite public_oe property

public Sprite[] sprite
return Sprite[]