C# 클래스 NonPhysicsPlayerController, gamejam14

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

공개 프로퍼티들

프로퍼티 타입 설명
FullTotem GameObject
PNumber string
StunRate float
TotemPart1 GameObject
TotemPart2 GameObject
TotemPart3 GameObject
TotemPart4 GameObject
TotemPart5 GameObject
TotemPart6 GameObject
gravity float
groundDamping float
inAirDamping float
jumpHeight float
runSpeed float

공개 메소드들

메소드 설명
ApplyBonusJump ( float bonus, float time ) : void
ApplyBonusSpeed ( float bonus, float time ) : void
Awake ( ) : void
FixedUpdate ( ) : void
GetItems ( string type ) : int
GetNeededItems ( string type ) : int
HandleFlashing ( ) : void
HandleMovement ( ) : void
IsStunned ( ) : bool
SetFullAlpha ( ) : void
SetInventory ( ) : void
SetJumpTimer ( float time ) : void
SetSpeedTimer ( float time ) : void
Stun ( float stunTime ) : void
Update ( ) : void
VerifyJumpTimer ( ) : void
VerifySpeedTimer ( ) : void
checkDroppingItemOnTotem ( ) : void
checkItemCompleted ( ) : void
checkWinner ( ) : void
destroyTotem ( string totemSideToDestroy ) : void
facingSideInt ( ) : int
loadGameOver ( string winner ) : void
onControllerCollider ( RaycastHit2D hit ) : void
onTriggerEnterEvent ( Collider2D col ) : void
onTriggerExitEvent ( Collider2D col ) : void
removeOne ( string objet ) : void
setItems ( string item, int quantity ) : void
setParameterNeeded ( int roche, int bois, int os, int metal, int plume, int liane ) : void

비공개 메소드들

메소드 설명
FlipTotem ( Vector3 currentScale ) : Vector3
GetPosition ( string tag ) : Vector2
SetPosition ( bool isItTheBird ) : Vector2

메소드 상세

ApplyBonusJump() 공개 메소드

public ApplyBonusJump ( float bonus, float time ) : void
bonus float
time float
리턴 void

ApplyBonusSpeed() 공개 메소드

public ApplyBonusSpeed ( float bonus, float time ) : void
bonus float
time float
리턴 void

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

FixedUpdate() 공개 메소드

public FixedUpdate ( ) : void
리턴 void

GetItems() 공개 메소드

public GetItems ( string type ) : int
type string
리턴 int

GetNeededItems() 공개 메소드

public GetNeededItems ( string type ) : int
type string
리턴 int

HandleFlashing() 공개 메소드

public HandleFlashing ( ) : void
리턴 void

HandleMovement() 공개 메소드

public HandleMovement ( ) : void
리턴 void

IsStunned() 공개 메소드

public IsStunned ( ) : bool
리턴 bool

SetFullAlpha() 공개 메소드

public SetFullAlpha ( ) : void
리턴 void

SetInventory() 공개 메소드

public SetInventory ( ) : void
리턴 void

SetJumpTimer() 공개 메소드

public SetJumpTimer ( float time ) : void
time float
리턴 void

SetSpeedTimer() 공개 메소드

public SetSpeedTimer ( float time ) : void
time float
리턴 void

Stun() 공개 메소드

public Stun ( float stunTime ) : void
stunTime float
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

VerifyJumpTimer() 공개 메소드

public VerifyJumpTimer ( ) : void
리턴 void

VerifySpeedTimer() 공개 메소드

public VerifySpeedTimer ( ) : void
리턴 void

checkDroppingItemOnTotem() 공개 메소드

public checkDroppingItemOnTotem ( ) : void
리턴 void

checkItemCompleted() 공개 메소드

public checkItemCompleted ( ) : void
리턴 void

checkWinner() 공개 메소드

public checkWinner ( ) : void
리턴 void

destroyTotem() 공개 메소드

public destroyTotem ( string totemSideToDestroy ) : void
totemSideToDestroy string
리턴 void

facingSideInt() 공개 메소드

public facingSideInt ( ) : int
리턴 int

loadGameOver() 공개 메소드

public loadGameOver ( string winner ) : void
winner string
리턴 void

onControllerCollider() 공개 메소드

public onControllerCollider ( RaycastHit2D hit ) : void
hit UnityEngine.RaycastHit2D
리턴 void

onTriggerEnterEvent() 공개 메소드

public onTriggerEnterEvent ( Collider2D col ) : void
col UnityEngine.Collider2D
리턴 void

onTriggerExitEvent() 공개 메소드

public onTriggerExitEvent ( Collider2D col ) : void
col UnityEngine.Collider2D
리턴 void

removeOne() 공개 메소드

public removeOne ( string objet ) : void
objet string
리턴 void

setItems() 공개 메소드

public setItems ( string item, int quantity ) : void
item string
quantity int
리턴 void

setParameterNeeded() 공개 메소드

public setParameterNeeded ( int roche, int bois, int os, int metal, int plume, int liane ) : void
roche int
bois int
os int
metal int
plume int
liane int
리턴 void

프로퍼티 상세

FullTotem 공개적으로 프로퍼티

public GameObject FullTotem
리턴 GameObject

PNumber 공개적으로 프로퍼티

public string PNumber
리턴 string

StunRate 공개적으로 프로퍼티

public float StunRate
리턴 float

TotemPart1 공개적으로 프로퍼티

public GameObject TotemPart1
리턴 GameObject

TotemPart2 공개적으로 프로퍼티

public GameObject TotemPart2
리턴 GameObject

TotemPart3 공개적으로 프로퍼티

public GameObject TotemPart3
리턴 GameObject

TotemPart4 공개적으로 프로퍼티

public GameObject TotemPart4
리턴 GameObject

TotemPart5 공개적으로 프로퍼티

public GameObject TotemPart5
리턴 GameObject

TotemPart6 공개적으로 프로퍼티

public GameObject TotemPart6
리턴 GameObject

gravity 공개적으로 프로퍼티

public float gravity
리턴 float

groundDamping 공개적으로 프로퍼티

public float groundDamping
리턴 float

inAirDamping 공개적으로 프로퍼티

public float inAirDamping
리턴 float

jumpHeight 공개적으로 프로퍼티

public float jumpHeight
리턴 float

runSpeed 공개적으로 프로퍼티

public float runSpeed
리턴 float