ReturnToBounds Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resets the gameobject's position to its starting position as soon as it's moving outside the provided bounds
public ref class ReturnToBounds : UnityEngine::MonoBehaviour
public class ReturnToBounds : UnityEngine.MonoBehaviour
type ReturnToBounds = class
inherit MonoBehaviour
Public Class ReturnToBounds
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourReturnToBounds
Constructors
ReturnToBounds() |
Properties
BackBounds | |
BottomBounds | |
FrontBounds | |
LeftBounds | |
RightBounds | |
TopBounds |