Свойство | 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 |
Méthode | 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 |
Méthode | Description | |
---|---|---|
SpawnHunterMonster ( int time, float bottomFloor, float topFloor ) : IEnumerator |
public OnTriggerEnter2D ( Collider2D col ) : void | ||
col | Collider2D | |
Résultat | void |
public OnTriggerExit2D ( Collider2D col ) : void | ||
col | Collider2D | |
Résultat | void |
public OnTriggerStay2D ( Collider2D col ) : void | ||
col | Collider2D | |
Résultat | void |
public ChasingMonster chasingMonsterScript | ||
Résultat | ChasingMonster |
public FadingDarkness fadingDarknessScript | ||
Résultat | FadingDarkness |