C# Class PlayerControl, DarkDreams

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

Public Properties

Property Type Description
HunterMonster GameObject
canHide bool
chasingMonsterScript ChasingMonster
defaultSpeed float
facingRight bool
fadingDarknessScript FadingDarkness
hide bool
hunterScript Hunter
initialColor Color
isAlive bool
itemCounter int
killedByHunter bool
movement Vector2
normalSpeed float
playerSpeed float
retryPos Vector3
slowMo bool
slowMoSpeed float
sprint bool
sprintSpeed float

Public Methods

Method Description
AddPoints ( int itemAdd ) : void
FlipPlayer ( ) : void
HidePlayer ( ) : void
LateUpdate ( ) : void
Move ( float h ) : void
OnTriggerEnter2D ( Collider2D col ) : void
OnTriggerExit2D ( Collider2D col ) : void
OnTriggerStay2D ( Collider2D col ) : void
SetInvisible ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
SpawnHunterMonster ( int time, float bottomFloor, float topFloor ) : IEnumerator

Method Details

AddPoints() public method

public AddPoints ( int itemAdd ) : void
itemAdd int
return void

FlipPlayer() public method

public FlipPlayer ( ) : void
return void

HidePlayer() public method

public HidePlayer ( ) : void
return void

LateUpdate() public method

public LateUpdate ( ) : void
return void

Move() public method

public Move ( float h ) : void
h float
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D col ) : void
col Collider2D
return void

OnTriggerExit2D() public method

public OnTriggerExit2D ( Collider2D col ) : void
col Collider2D
return void

OnTriggerStay2D() public method

public OnTriggerStay2D ( Collider2D col ) : void
col Collider2D
return void

SetInvisible() public method

public SetInvisible ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

HunterMonster public_oe property

public GameObject HunterMonster
return GameObject

canHide public_oe property

public bool canHide
return bool

chasingMonsterScript public_oe property

public ChasingMonster chasingMonsterScript
return ChasingMonster

defaultSpeed public_oe property

public float defaultSpeed
return float

facingRight public_oe property

public bool facingRight
return bool

fadingDarknessScript public_oe property

public FadingDarkness fadingDarknessScript
return FadingDarkness

hide public_oe property

public bool hide
return bool

hunterScript public_oe property

public Hunter hunterScript
return Hunter

initialColor public_oe property

public Color initialColor
return Color

isAlive public_oe property

public bool isAlive
return bool

itemCounter public_oe property

public int itemCounter
return int

killedByHunter public_oe property

public bool killedByHunter
return bool

movement public_oe property

public Vector2 movement
return Vector2

normalSpeed public_oe property

public float normalSpeed
return float

playerSpeed public_oe property

public float playerSpeed
return float

retryPos public_oe property

public Vector3 retryPos
return Vector3

slowMo public_oe property

public bool slowMo
return bool

slowMoSpeed public_oe property

public float slowMoSpeed
return float

sprint public_oe property

public bool sprint
return bool

sprintSpeed public_oe property

public float sprintSpeed
return float