Fence tile
More...
◆ DisableFence()
virtual void UnityPlatformer.Fence.DisableFence |
( |
Character |
p | ) |
|
|
inlinevirtual |
notify character that is out a Fence
◆ Dismount()
virtual void UnityPlatformer.Fence.Dismount |
( |
Character |
p | ) |
|
|
inlinevirtual |
notify character that must exit Fence state
◆ EnableFence()
virtual void UnityPlatformer.Fence.EnableFence |
( |
Character |
p | ) |
|
|
inlinevirtual |
notify character that is in a Fence
◆ OnTriggerStay2D()
virtual void UnityPlatformer.Fence.OnTriggerStay2D |
( |
Collider2D |
o | ) |
|
|
inlinevirtual |
Check user Bound (EnterAreas) is completely inside the Fence Area if it's true -> EnableFence if it's false -> DisableFence
◆ Start()
virtual void UnityPlatformer.Fence.Start |
( |
| ) |
|
|
inlinevirtual |
Force PolygonCollider2D to be a trigger
The documentation for this class was generated from the following file:
- Assets/UnityPlatformer/Scripts/Tiles/Fence.cs