Class SimpleElevator
Moves transform between minY and maxY with the specified speed.
Namespace: Global Namespace
Syntax
public class SimpleElevator : MonoBehaviour
Fields
maxY
Declaration
public float maxY
Field Value
Type | Description |
---|---|
Single |
minY
Declaration
public float minY
Field Value
Type | Description |
---|---|
Single |
on
Declaration
public bool on
Field Value
Type | Description |
---|---|
Boolean |
speed
Declaration
public float speed
Field Value
Type | Description |
---|---|
Single |