Class MovingPlatformMotor2D
Inheritance
System.Object
MovingPlatformMotor2D
Namespace: Edgar.Unity.Examples.PC2D
Assembly: cs.temp.dll.dll
Syntax
public class MovingPlatformMotor2D : MonoBehaviour
Fields
onPlatformerMotorContact
Declaration
public Action<PlatformerMotor2D> onPlatformerMotorContact
Field Value
| Type | Description |
|---|---|
| System.Action<PlatformerMotor2D> |
Properties
position
Declaration
public Vector2 position { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
previousPosition
Declaration
public Vector2 previousPosition { get; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
velocity
Declaration
public Vector2 velocity { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |