C# 클래스 PlayerLocal, newsupermeatboy

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

공개 프로퍼티들

프로퍼티 타입 설명
airborne_speed_change float
airborne_x_accel_factor float
airborne_x_slowdown_factor float
gravity float
grounded_speed_change float
keyJump KeyCode,
keyLeft KeyCode,
keyRight KeyCode,
myJumpSpeed float
prefab_bloodball Object
slide_grav_factor float
slide_jump_speed_x float
slide_jump_speed_y float
slide_keep_speed float
speed_air float
speed_ground float
time_since_jump_airmove_slower float

공개 메소드들

메소드 설명
BloodAgainstObjectAllowed ( GameObject o ) : bool
MyMoveInit ( ) : void
SpawnBloodOnContact ( ControllerColliderHit hit ) : void
SpawnBloodOnContact2 ( Vector3 hit_point, Vector3 hit_normal ) : void
setKeyBindings ( KeyCode, left, KeyCode, right, KeyCode, jump ) : void

비공개 메소드들

메소드 설명
BoundsContainedIn ( Bounds inner, Bounds outer ) : bool
ChangeValueWithSpeed ( float old, float target, float change_speed ) : float
Interpolate ( float a, float b, float t ) : float
JumpAndBumpKillCheck ( ) : void
OnCollisionEnter ( Collision collision ) : void
OnCollisionStay ( Collision collisionInfo ) : void
OnControllerColliderHit ( ControllerColliderHit hit ) : void
Start ( ) : void
Update ( ) : void

메소드 상세

BloodAgainstObjectAllowed() 공개 정적인 메소드

public static BloodAgainstObjectAllowed ( GameObject o ) : bool
o GameObject
리턴 bool

MyMoveInit() 공개 메소드

public MyMoveInit ( ) : void
리턴 void

SpawnBloodOnContact() 공개 정적인 메소드

public static SpawnBloodOnContact ( ControllerColliderHit hit ) : void
hit UnityEngine.ControllerColliderHit
리턴 void

SpawnBloodOnContact2() 공개 정적인 메소드

public static SpawnBloodOnContact2 ( Vector3 hit_point, Vector3 hit_normal ) : void
hit_point Vector3
hit_normal Vector3
리턴 void

setKeyBindings() 공개 메소드

public setKeyBindings ( KeyCode, left, KeyCode, right, KeyCode, jump ) : void
left KeyCode,
right KeyCode,
jump KeyCode,
리턴 void

프로퍼티 상세

airborne_speed_change 공개적으로 정적으로 프로퍼티

public static float airborne_speed_change
리턴 float

airborne_x_accel_factor 공개적으로 정적으로 프로퍼티

public static float airborne_x_accel_factor
리턴 float

airborne_x_slowdown_factor 공개적으로 정적으로 프로퍼티

public static float airborne_x_slowdown_factor
리턴 float

gravity 공개적으로 정적으로 프로퍼티

public static float gravity
리턴 float

grounded_speed_change 공개적으로 정적으로 프로퍼티

public static float grounded_speed_change
리턴 float

keyJump 공개적으로 프로퍼티

public KeyCode, keyJump
리턴 KeyCode,

keyLeft 공개적으로 프로퍼티

public KeyCode, keyLeft
리턴 KeyCode,

keyRight 공개적으로 프로퍼티

public KeyCode, keyRight
리턴 KeyCode,

myJumpSpeed 공개적으로 정적으로 프로퍼티

public static float myJumpSpeed
리턴 float

prefab_bloodball 공개적으로 정적으로 프로퍼티

public static Object prefab_bloodball
리턴 Object

slide_grav_factor 공개적으로 정적으로 프로퍼티

public static float slide_grav_factor
리턴 float

slide_jump_speed_x 공개적으로 정적으로 프로퍼티

public static float slide_jump_speed_x
리턴 float

slide_jump_speed_y 공개적으로 정적으로 프로퍼티

public static float slide_jump_speed_y
리턴 float

slide_keep_speed 공개적으로 정적으로 프로퍼티

public static float slide_keep_speed
리턴 float

speed_air 공개적으로 정적으로 프로퍼티

public static float speed_air
리턴 float

speed_ground 공개적으로 정적으로 프로퍼티

public static float speed_ground
리턴 float

time_since_jump_airmove_slower 공개적으로 정적으로 프로퍼티

public static float time_since_jump_airmove_slower
리턴 float