Class ReturnToBounds
Resets the gameobject's position to its starting position as soon as it's moving outside the provided bounds
Inheritance
ReturnToBounds
Assembly: cs.temp.dll.dll
public class ReturnToBounds : MonoBehaviour
Properties
Declaration
public Transform BackBounds { get; set; }
Property Value
Type |
Description |
Transform |
|
Declaration
public Transform BottomBounds { get; set; }
Property Value
Type |
Description |
Transform |
|
Declaration
public Transform FrontBounds { get; set; }
Property Value
Type |
Description |
Transform |
|
Declaration
public Transform LeftBounds { get; set; }
Property Value
Type |
Description |
Transform |
|
Declaration
public Transform RightBounds { get; set; }
Property Value
Type |
Description |
Transform |
|
Declaration
public Transform TopBounds { get; set; }
Property Value
Type |
Description |
Transform |
|