This class repositions a 2D object when enabled if it's at the same x as a platform
More...
|
virtual void | OnEnable () |
|
virtual void | Reposition (Vector3 repositionOrigin) |
| Reposition the object from a specific point More...
|
|
This class repositions a 2D object when enabled if it's at the same x as a platform
◆ OnEnable()
virtual void MoreMountains.InfiniteRunnerEngine.RepositionOnStart2D.OnEnable |
( |
| ) |
|
|
protectedvirtual |
◆ Reposition()
virtual void MoreMountains.InfiniteRunnerEngine.RepositionOnStart2D.Reposition |
( |
Vector3 |
repositionOrigin | ) |
|
|
protectedvirtual |
Reposition the object from a specific point
- Parameters
-
repositionOrigin | Reposition origin. |
◆ PositionOffset
Vector3 MoreMountains.InfiniteRunnerEngine.RepositionOnStart2D.PositionOffset |
how should we move the object if it encounters an obstacle
◆ RaycastLength
float MoreMountains.InfiniteRunnerEngine.RepositionOnStart2D.RaycastLength = 20f |
|
protected |
The documentation for this class was generated from the following file: