C# Class NonPhysicsPlayerController, gamejam14

Inheritance: MonoBehaviour
ファイルを表示 Open project: TeamLativa/gamejam14 Class Usage Examples

Public Properties

Property Type Description
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

Public Methods

Method Description
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

Private Methods

Method Description
FlipTotem ( Vector3 currentScale ) : Vector3
GetPosition ( string tag ) : Vector2
SetPosition ( bool isItTheBird ) : Vector2

Method Details

ApplyBonusJump() public method

public ApplyBonusJump ( float bonus, float time ) : void
bonus float
time float
return void

ApplyBonusSpeed() public method

public ApplyBonusSpeed ( float bonus, float time ) : void
bonus float
time float
return void

Awake() public method

public Awake ( ) : void
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

GetItems() public method

public GetItems ( string type ) : int
type string
return int

GetNeededItems() public method

public GetNeededItems ( string type ) : int
type string
return int

HandleFlashing() public method

public HandleFlashing ( ) : void
return void

HandleMovement() public method

public HandleMovement ( ) : void
return void

IsStunned() public method

public IsStunned ( ) : bool
return bool

SetFullAlpha() public method

public SetFullAlpha ( ) : void
return void

SetInventory() public method

public SetInventory ( ) : void
return void

SetJumpTimer() public method

public SetJumpTimer ( float time ) : void
time float
return void

SetSpeedTimer() public method

public SetSpeedTimer ( float time ) : void
time float
return void

Stun() public method

public Stun ( float stunTime ) : void
stunTime float
return void

Update() public method

public Update ( ) : void
return void

VerifyJumpTimer() public method

public VerifyJumpTimer ( ) : void
return void

VerifySpeedTimer() public method

public VerifySpeedTimer ( ) : void
return void

checkDroppingItemOnTotem() public method

public checkDroppingItemOnTotem ( ) : void
return void

checkItemCompleted() public method

public checkItemCompleted ( ) : void
return void

checkWinner() public method

public checkWinner ( ) : void
return void

destroyTotem() public method

public destroyTotem ( string totemSideToDestroy ) : void
totemSideToDestroy string
return void

facingSideInt() public method

public facingSideInt ( ) : int
return int

loadGameOver() public method

public loadGameOver ( string winner ) : void
winner string
return void

onControllerCollider() public method

public onControllerCollider ( RaycastHit2D hit ) : void
hit UnityEngine.RaycastHit2D
return void

onTriggerEnterEvent() public method

public onTriggerEnterEvent ( Collider2D col ) : void
col UnityEngine.Collider2D
return void

onTriggerExitEvent() public method

public onTriggerExitEvent ( Collider2D col ) : void
col UnityEngine.Collider2D
return void

removeOne() public method

public removeOne ( string objet ) : void
objet string
return void

setItems() public method

public setItems ( string item, int quantity ) : void
item string
quantity int
return void

setParameterNeeded() public method

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
return void

Property Details

FullTotem public_oe property

public GameObject FullTotem
return GameObject

PNumber public_oe property

public string PNumber
return string

StunRate public_oe property

public float StunRate
return float

TotemPart1 public_oe property

public GameObject TotemPart1
return GameObject

TotemPart2 public_oe property

public GameObject TotemPart2
return GameObject

TotemPart3 public_oe property

public GameObject TotemPart3
return GameObject

TotemPart4 public_oe property

public GameObject TotemPart4
return GameObject

TotemPart5 public_oe property

public GameObject TotemPart5
return GameObject

TotemPart6 public_oe property

public GameObject TotemPart6
return GameObject

gravity public_oe property

public float gravity
return float

groundDamping public_oe property

public float groundDamping
return float

inAirDamping public_oe property

public float inAirDamping
return float

jumpHeight public_oe property

public float jumpHeight
return float

runSpeed public_oe property

public float runSpeed
return float