Infinite Runner Engine v1.9
Public Attributes | Protected Member Functions | List of all members
MoreMountains.InfiniteRunnerEngine.OutOfBoundsRecycle Class Reference

Adds this component to an object and it'll be automatically recycled for further use when it reaches a certain distance after the level bounds More...

Inheritance diagram for MoreMountains.InfiniteRunnerEngine.OutOfBoundsRecycle:

Public Attributes

float DestroyDistanceBehindBounds =5f
 

Protected Member Functions

virtual void Update ()
 On update, if the object meets the level's recycling conditions, we recycle it More...
 

Detailed Description

Adds this component to an object and it'll be automatically recycled for further use when it reaches a certain distance after the level bounds

Member Function Documentation

◆ Update()

virtual void MoreMountains.InfiniteRunnerEngine.OutOfBoundsRecycle.Update ( )
protectedvirtual

On update, if the object meets the level's recycling conditions, we recycle it

Member Data Documentation

◆ DestroyDistanceBehindBounds

float MoreMountains.InfiniteRunnerEngine.OutOfBoundsRecycle.DestroyDistanceBehindBounds =5f

The documentation for this class was generated from the following file: