C# 클래스 Coliseo.Actor

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: lmucs/Coliseo 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
canMove bool

보호된 프로퍼티들

프로퍼티 타입 설명
_health uint
anim UnityEngine.Animator
healthDisplay UnityEngine.TextMesh
rb UnityEngine.Rigidbody
saber UnityEngine.GameObject
saberCont SaberController

Private Properties

프로퍼티 타입 설명
IsOpponent bool
IsValidAttack bool

공개 메소드들

메소드 설명
Awake ( ) : void
OnTriggerEnter ( Collider other ) : void
ResetLife ( ) : void
TakeDamage ( uint amount ) : uint
attack ( Actor target ) : void
die ( ) : void
finishAttack ( ) : void
initiateAttack ( ) : void
initiateBlock ( ) : void
move ( float forwardback, float leftright, float vertical ) : void
startMove ( ) : void
turn ( float x, float y ) : void

비공개 메소드들

메소드 설명
IsOpponent ( Actor other ) : bool
IsValidAttack ( Actor other ) : bool

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

OnTriggerEnter() 공개 메소드

public OnTriggerEnter ( Collider other ) : void
other UnityEngine.Collider
리턴 void

ResetLife() 공개 메소드

public ResetLife ( ) : void
리턴 void

TakeDamage() 공개 추상적인 메소드

public abstract TakeDamage ( uint amount ) : uint
amount uint
리턴 uint

attack() 공개 메소드

public attack ( Actor target ) : void
target Actor
리턴 void

die() 공개 추상적인 메소드

public abstract die ( ) : void
리턴 void

finishAttack() 공개 메소드

public finishAttack ( ) : void
리턴 void

initiateAttack() 공개 메소드

public initiateAttack ( ) : void
리턴 void

initiateBlock() 공개 메소드

public initiateBlock ( ) : void
리턴 void

move() 공개 추상적인 메소드

public abstract move ( float forwardback, float leftright, float vertical ) : void
forwardback float
leftright float
vertical float
리턴 void

startMove() 공개 메소드

public startMove ( ) : void
리턴 void

turn() 공개 추상적인 메소드

public abstract turn ( float x, float y ) : void
x float
y float
리턴 void

프로퍼티 상세

_health 보호되어 있는 프로퍼티

protected uint _health
리턴 uint

anim 보호되어 있는 프로퍼티

protected Animator,UnityEngine anim
리턴 UnityEngine.Animator

canMove 공개적으로 프로퍼티

public bool canMove
리턴 bool

healthDisplay 보호되어 있는 프로퍼티

protected TextMesh,UnityEngine healthDisplay
리턴 UnityEngine.TextMesh

rb 보호되어 있는 프로퍼티

protected Rigidbody,UnityEngine rb
리턴 UnityEngine.Rigidbody

saber 보호되어 있는 프로퍼티

protected GameObject,UnityEngine saber
리턴 UnityEngine.GameObject

saberCont 보호되어 있는 프로퍼티

protected SaberController,Coliseo saberCont
리턴 SaberController