C# Class NonPhysicsPlayerController, gamejam14

Inheritance: MonoBehaviour
Afficher le fichier Open project: TeamLativa/gamejam14 Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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

Méthode Description
FlipTotem ( Vector3 currentScale ) : Vector3
GetPosition ( string tag ) : Vector2
SetPosition ( bool isItTheBird ) : Vector2

Method Details

ApplyBonusJump() public méthode

public ApplyBonusJump ( float bonus, float time ) : void
bonus float
time float
Résultat void

ApplyBonusSpeed() public méthode

public ApplyBonusSpeed ( float bonus, float time ) : void
bonus float
time float
Résultat void

Awake() public méthode

public Awake ( ) : void
Résultat void

FixedUpdate() public méthode

public FixedUpdate ( ) : void
Résultat void

GetItems() public méthode

public GetItems ( string type ) : int
type string
Résultat int

GetNeededItems() public méthode

public GetNeededItems ( string type ) : int
type string
Résultat int

HandleFlashing() public méthode

public HandleFlashing ( ) : void
Résultat void

HandleMovement() public méthode

public HandleMovement ( ) : void
Résultat void

IsStunned() public méthode

public IsStunned ( ) : bool
Résultat bool

SetFullAlpha() public méthode

public SetFullAlpha ( ) : void
Résultat void

SetInventory() public méthode

public SetInventory ( ) : void
Résultat void

SetJumpTimer() public méthode

public SetJumpTimer ( float time ) : void
time float
Résultat void

SetSpeedTimer() public méthode

public SetSpeedTimer ( float time ) : void
time float
Résultat void

Stun() public méthode

public Stun ( float stunTime ) : void
stunTime float
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

VerifyJumpTimer() public méthode

public VerifyJumpTimer ( ) : void
Résultat void

VerifySpeedTimer() public méthode

public VerifySpeedTimer ( ) : void
Résultat void

checkDroppingItemOnTotem() public méthode

public checkDroppingItemOnTotem ( ) : void
Résultat void

checkItemCompleted() public méthode

public checkItemCompleted ( ) : void
Résultat void

checkWinner() public méthode

public checkWinner ( ) : void
Résultat void

destroyTotem() public méthode

public destroyTotem ( string totemSideToDestroy ) : void
totemSideToDestroy string
Résultat void

facingSideInt() public méthode

public facingSideInt ( ) : int
Résultat int

loadGameOver() public méthode

public loadGameOver ( string winner ) : void
winner string
Résultat void

onControllerCollider() public méthode

public onControllerCollider ( RaycastHit2D hit ) : void
hit UnityEngine.RaycastHit2D
Résultat void

onTriggerEnterEvent() public méthode

public onTriggerEnterEvent ( Collider2D col ) : void
col UnityEngine.Collider2D
Résultat void

onTriggerExitEvent() public méthode

public onTriggerExitEvent ( Collider2D col ) : void
col UnityEngine.Collider2D
Résultat void

removeOne() public méthode

public removeOne ( string objet ) : void
objet string
Résultat void

setItems() public méthode

public setItems ( string item, int quantity ) : void
item string
quantity int
Résultat void

setParameterNeeded() public méthode

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
Résultat void

Property Details

FullTotem public_oe property

public GameObject FullTotem
Résultat GameObject

PNumber public_oe property

public string PNumber
Résultat string

StunRate public_oe property

public float StunRate
Résultat float

TotemPart1 public_oe property

public GameObject TotemPart1
Résultat GameObject

TotemPart2 public_oe property

public GameObject TotemPart2
Résultat GameObject

TotemPart3 public_oe property

public GameObject TotemPart3
Résultat GameObject

TotemPart4 public_oe property

public GameObject TotemPart4
Résultat GameObject

TotemPart5 public_oe property

public GameObject TotemPart5
Résultat GameObject

TotemPart6 public_oe property

public GameObject TotemPart6
Résultat GameObject

gravity public_oe property

public float gravity
Résultat float

groundDamping public_oe property

public float groundDamping
Résultat float

inAirDamping public_oe property

public float inAirDamping
Résultat float

jumpHeight public_oe property

public float jumpHeight
Résultat float

runSpeed public_oe property

public float runSpeed
Résultat float