C# 클래스 CharacterMotor2, JuniorProject

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

공개 프로퍼티들

프로퍼티 타입 설명
characterMovement Vector3
facingRight bool
jumpForce int
knockbackForce Vector3
maxSpeed int
movingLeft bool
movingRight bool
rb UnityEngine.Rigidbody
speed int
theAnimator Animator
velocity Vector3

공개 메소드들

메소드 설명
FixedUpdate ( ) : void
Flip ( ) : void
LeftActivation ( ) : void
OnCollisionEnter ( Collision collider ) : void
RightActivation ( ) : void
Start ( ) : void
VerticalVelocity ( ) : void

메소드 상세

FixedUpdate() 공개 메소드

public FixedUpdate ( ) : void
리턴 void

Flip() 공개 메소드

public Flip ( ) : void
리턴 void

LeftActivation() 공개 메소드

public LeftActivation ( ) : void
리턴 void

OnCollisionEnter() 공개 메소드

public OnCollisionEnter ( Collision collider ) : void
collider Collision
리턴 void

RightActivation() 공개 메소드

public RightActivation ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

VerticalVelocity() 공개 메소드

public VerticalVelocity ( ) : void
리턴 void

프로퍼티 상세

characterMovement 공개적으로 프로퍼티

public Vector3 characterMovement
리턴 Vector3

facingRight 공개적으로 프로퍼티

public bool facingRight
리턴 bool

jumpForce 공개적으로 프로퍼티

public int jumpForce
리턴 int

knockbackForce 공개적으로 프로퍼티

public Vector3 knockbackForce
리턴 Vector3

maxSpeed 공개적으로 프로퍼티

public int maxSpeed
리턴 int

movingLeft 공개적으로 프로퍼티

public bool movingLeft
리턴 bool

movingRight 공개적으로 프로퍼티

public bool movingRight
리턴 bool

rb 공개적으로 프로퍼티

public Rigidbody,UnityEngine rb
리턴 UnityEngine.Rigidbody

speed 공개적으로 프로퍼티

public int speed
리턴 int

theAnimator 공개적으로 프로퍼티

public Animator theAnimator
리턴 Animator

velocity 공개적으로 프로퍼티

public Vector3 velocity
리턴 Vector3