ReturnToBounds Class

Definition

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.MonoBehaviour
ReturnToBounds

Constructors

ReturnToBounds()

Properties

BackBounds
BottomBounds
FrontBounds
LeftBounds
RightBounds
TopBounds

Applies to