Wobbly Life Mod SDK
 
Loading...
Searching...
No Matches
ModWobblyLife.ModPlatform Class Reference

A platform which is useful keeping a player on a Platform or making a conveyor belt. More...

Inheritance diagram for ModWobblyLife.ModPlatform:

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< ModPlatformonPrepare
 

Detailed Description

A platform which is useful keeping a player on a Platform or making a conveyor belt.

Member Function Documentation

◆ AssignPlatform()

void ModWobblyLife.ModPlatform.AssignPlatform ( object  platformObject)

Internal use.

Parameters
platformObject

◆ GetVelocity()

virtual Vector3 ModWobblyLife.ModPlatform.GetVelocity ( )
virtual

Returns the velocity of this platform Override to change this.

Returns

◆ IsPropsSpeedOverridden()

virtual bool ModWobblyLife.ModPlatform.IsPropsSpeedOverridden ( )
virtual

Returns whether props are affected by the speed.

Returns

◆ ModAwake()

virtual void ModWobblyLife.ModPlatform.ModAwake ( )
protectedvirtual

◆ OnModValidate()

virtual void ModWobblyLife.ModPlatform.OnModValidate ( )
protectedvirtual

◆ SetActive()

void ModWobblyLife.ModPlatform.SetActive ( bool  enabled)

Set whether this platform is active or not.

Parameters
enabled

Event Documentation

◆ onPrepare

Action<ModPlatform> ModWobblyLife.ModPlatform.onPrepare
static