platformer
Public Member Functions | List of all members
UnityPlatformer.Fence Class Reference

Fence tile More...

Inheritance diagram for UnityPlatformer.Fence:

Public Member Functions

virtual void Start ()
 Force PolygonCollider2D to be a trigger More...
 
virtual void EnableFence (Character p)
 notify character that is in a Fence More...
 
virtual void Dismount (Character p)
 notify character that must exit Fence state More...
 
virtual void DisableFence (Character p)
 notify character that is out a Fence More...
 
virtual void OnTriggerStay2D (Collider2D o)
 Check user Bound (EnterAreas) is completely inside the Fence Area if it's true -> EnableFence if it's false -> DisableFence More...
 

Detailed Description

Fence tile

Member Function Documentation

◆ 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: