Property | Type | Description | |
---|---|---|---|
appearedObject | GameObject | ||
happySprite | Sprite | ||
hidingObject | GameObject | ||
player | Transform | ||
playerDetectDistance | float | ||
pushBackForce | float | ||
speechBubble | GameObject |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
DestroySelf ( ) : void | ||
Hide ( ) : void | ||
HideAndDestroySelf ( ) : void | ||
Hided ( ) : void | ||
HidingAtFirst ( ) : void | ||
OnTriggerEnter2D ( |
||
OnTriggerExit2D ( |
||
Update ( ) : void |
Method | Description | |
---|---|---|
Appear ( |
||
PlayerFarAway ( ) : bool | ||
ShowSpeechBubble ( ) : IEnumerator | ||
_HideAndDestroySelf ( ) : IEnumerator |
public OnTriggerEnter2D ( |
||
col | ||
return | void |
public OnTriggerExit2D ( |
||
col | ||
return | void |