A platform which is useful keeping a player on a Platform or making a conveyor belt. More...
Public Member Functions | |
| void | AssignPlatform (object platformObject) |
| Internal use. | |
| void | SetActive (bool enabled) |
| Set whether this platform is active or not. | |
| virtual Vector3 | GetVelocity () |
| Returns the velocity of this platform Override to change this. | |
| virtual bool | IsPropsSpeedOverridden () |
| Returns whether props are affected by the speed. | |
Protected Member Functions | |
| virtual void | OnModValidate () |
| virtual void | ModAwake () |
Events | |
| static Action< ModPlatform > | onPrepare |
A platform which is useful keeping a player on a Platform or making a conveyor belt.
| void ModWobblyLife.ModPlatform.AssignPlatform | ( | object | platformObject | ) |
Internal use.
| platformObject |
|
virtual |
Returns the velocity of this platform Override to change this.
|
virtual |
Returns whether props are affected by the speed.
|
protectedvirtual |
|
protectedvirtual |
| void ModWobblyLife.ModPlatform.SetActive | ( | bool | enabled | ) |
Set whether this platform is active or not.
| enabled |
|
static |