Méthode | Description | |
---|---|---|
DisableFence ( Character p ) : void |
notify character that is out a Fence
|
|
Dismount ( Character p ) : void |
notify character that must exit Fence state
|
|
EnableFence ( Character p ) : void |
notify character that is in a Fence
|
|
OnTriggerStay2D ( |
Check user Bound (EnterAreas) is completely inside the Fence Area if it's true -> EnableFence if it's false -> DisableFence
|
|
Start ( ) : void |
Force PolygonCollider2D to be a trigger
|
Méthode | Description | |
---|---|---|
OnDrawGizmos ( ) : void |
public OnTriggerStay2D ( |
||
o | ||
Résultat | void |