C# 클래스 SkateMovement, Unity3D

상속: MonoBehaviour
파일 보기 프로젝트 열기: k-lock/Unity3D 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
GearRatio float[]
_layersChecked LayerMask
_textures Texture[]
camEulerX float
camEulerY float
cameras Camera[]
distance float
distanceMax float
distanceMin float
height float
heightDamping float
rotationDamping float
skater Transform
suspensionDamper float
suspensionFrontSpring float
suspensionRange float
suspensionRearSpring float
wheelRadius float
wheels WheelCollider[]

Private Properties

프로퍼티 타입 설명
RampChecker bool
WheelColliderGrounded bool

공개 메소드들

메소드 설명
ApplySteering ( Vector3 relativeVelocity ) : void
ApplyThrottle ( ) : void
ApplyVelocity ( ) : void
Awake ( ) : void
CameraActivator ( ) : void
CameraAdjust ( Transform camera ) : void
CameraCollision ( Transform camera ) : void
CheckMotorTorque ( ) : void
CopingCheck ( ) : void
DirectionCorrecter ( ) : void
GUI_Board ( ) : void
GUI_INFO_LABELS ( ) : void
GetInput ( ) : void
LateUpdate ( ) : void
OnGUI ( ) : void
RampCollisionObject ( Transform hiter ) : void
SetupWheelCollider ( WheelCollider wc, bool isLeft, bool isFront ) : void
SetupWheelColliders ( ) : void
SetupWheelFrictionCurve ( ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
RampChecker ( ) : bool
WheelColliderGrounded ( ) : bool

메소드 상세

ApplySteering() 공개 메소드

public ApplySteering ( Vector3 relativeVelocity ) : void
relativeVelocity Vector3
리턴 void

ApplyThrottle() 공개 메소드

public ApplyThrottle ( ) : void
리턴 void

ApplyVelocity() 공개 메소드

public ApplyVelocity ( ) : void
리턴 void

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

CameraActivator() 공개 메소드

public CameraActivator ( ) : void
리턴 void

CameraAdjust() 공개 메소드

public CameraAdjust ( Transform camera ) : void
camera Transform
리턴 void

CameraCollision() 공개 메소드

public CameraCollision ( Transform camera ) : void
camera Transform
리턴 void

CheckMotorTorque() 공개 메소드

public CheckMotorTorque ( ) : void
리턴 void

CopingCheck() 공개 메소드

public CopingCheck ( ) : void
리턴 void

DirectionCorrecter() 공개 메소드

public DirectionCorrecter ( ) : void
리턴 void

GUI_Board() 공개 메소드

public GUI_Board ( ) : void
리턴 void

GUI_INFO_LABELS() 공개 메소드

public GUI_INFO_LABELS ( ) : void
리턴 void

GetInput() 공개 메소드

public GetInput ( ) : void
리턴 void

LateUpdate() 공개 메소드

public LateUpdate ( ) : void
리턴 void

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

RampCollisionObject() 공개 메소드

public RampCollisionObject ( Transform hiter ) : void
hiter Transform
리턴 void

SetupWheelCollider() 공개 메소드

public SetupWheelCollider ( WheelCollider wc, bool isLeft, bool isFront ) : void
wc WheelCollider
isLeft bool
isFront bool
리턴 void

SetupWheelColliders() 공개 메소드

public SetupWheelColliders ( ) : void
리턴 void

SetupWheelFrictionCurve() 공개 메소드

public SetupWheelFrictionCurve ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

GearRatio 공개적으로 프로퍼티

public float[] GearRatio
리턴 float[]

_layersChecked 공개적으로 프로퍼티

public LayerMask _layersChecked
리턴 LayerMask

_textures 공개적으로 프로퍼티

public Texture[] _textures
리턴 Texture[]

camEulerX 공개적으로 프로퍼티

public float camEulerX
리턴 float

camEulerY 공개적으로 프로퍼티

public float camEulerY
리턴 float

cameras 공개적으로 프로퍼티

public Camera[] cameras
리턴 Camera[]

distance 공개적으로 프로퍼티

public float distance
리턴 float

distanceMax 공개적으로 프로퍼티

public float distanceMax
리턴 float

distanceMin 공개적으로 프로퍼티

public float distanceMin
리턴 float

height 공개적으로 프로퍼티

public float height
리턴 float

heightDamping 공개적으로 프로퍼티

public float heightDamping
리턴 float

rotationDamping 공개적으로 프로퍼티

public float rotationDamping
리턴 float

skater 공개적으로 프로퍼티

public Transform skater
리턴 Transform

suspensionDamper 공개적으로 프로퍼티

public float suspensionDamper
리턴 float

suspensionFrontSpring 공개적으로 프로퍼티

public float suspensionFrontSpring
리턴 float

suspensionRange 공개적으로 프로퍼티

public float suspensionRange
리턴 float

suspensionRearSpring 공개적으로 프로퍼티

public float suspensionRearSpring
리턴 float

wheelRadius 공개적으로 프로퍼티

public float wheelRadius
리턴 float

wheels 공개적으로 프로퍼티

public WheelCollider[] wheels
리턴 WheelCollider[]