Class FallPlatform
This class controls platforms that fall when touched by a player or another platform. The platform will fall after a delay and then reset to its original position.
Inheritance
object
FallPlatform
Namespace: Game
Assembly: cs.temp.dll.dll
Syntax
public class FallPlatform : MonoBehaviour
Fields
fallDelay
The time (in seconds) before the platform starts falling after being triggered.
Declaration
public float fallDelay
Field Value
| Type | Description |
|---|---|
| float |
resetDelay
The time (in seconds) before the platform resets to its original position after falling.
Declaration
public float resetDelay
Field Value
| Type | Description |
|---|---|
| float |