C# 클래스 MovingBlock, Demonology

상속: EnemyBehavior
파일 보기 프로젝트 열기: Qlevine20/Demonology 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
autoStart bool
locs Vector2[]
pauseEachPoint bool
speed float

보호된 프로퍼티들

프로퍼티 타입 설명
ArrayDir int
Moving bool
Pos int

공개 메소드들

메소드 설명
MoveBetweenPoints ( Vector2 p ) : bool
OnCollisionEnter2D ( Collision2D other ) : void
OnDrawGizmos ( ) : void
OnRespawn ( ) : void
OnTriggerEnter2D ( Collider2D other ) : void
Start ( ) : void
Update ( ) : void

메소드 상세

MoveBetweenPoints() 공개 메소드

public MoveBetweenPoints ( Vector2 p ) : bool
p Vector2
리턴 bool

OnCollisionEnter2D() 공개 메소드

public OnCollisionEnter2D ( Collision2D other ) : void
other Collision2D
리턴 void

OnDrawGizmos() 공개 메소드

public OnDrawGizmos ( ) : void
리턴 void

OnRespawn() 공개 메소드

public OnRespawn ( ) : void
리턴 void

OnTriggerEnter2D() 공개 메소드

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

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

ArrayDir 보호되어 있는 프로퍼티

protected int ArrayDir
리턴 int

Moving 보호되어 있는 프로퍼티

protected bool Moving
리턴 bool

Pos 보호되어 있는 프로퍼티

protected int Pos
리턴 int

autoStart 공개적으로 프로퍼티

public bool autoStart
리턴 bool

locs 공개적으로 프로퍼티

public Vector2[] locs
리턴 Vector2[]

pauseEachPoint 공개적으로 프로퍼티

public bool pauseEachPoint
리턴 bool

speed 공개적으로 프로퍼티

public float speed
리턴 float