C# 클래스 SlashLogic, DemonHeart

상속: MonoBehaviour
파일 보기 프로젝트 열기: rwbysafire/DemonHeart 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
attackSpeed float
damage float
enemyTag string
hitboxes UnityEngine.PolygonCollider2D[]
sprite Sprite[]

공개 메소드들

메소드 설명
OnTriggerEnter2D ( Collider2D collider ) : void
Start ( ) : void

비공개 메소드들

메소드 설명
playAnimation ( float duration ) : IEnumerator

메소드 상세

OnTriggerEnter2D() 공개 메소드

public OnTriggerEnter2D ( Collider2D collider ) : void
collider UnityEngine.Collider2D
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

프로퍼티 상세

attackSpeed 공개적으로 프로퍼티

public float attackSpeed
리턴 float

damage 공개적으로 프로퍼티

public float damage
리턴 float

enemyTag 공개적으로 프로퍼티

public string enemyTag
리턴 string

hitboxes 공개적으로 프로퍼티

public PolygonCollider2D[],UnityEngine hitboxes
리턴 UnityEngine.PolygonCollider2D[]

sprite 공개적으로 프로퍼티

public Sprite[] sprite
리턴 Sprite[]