Summary
Moves a
UnityEngine.Rigidbody2D
along a straight path.- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
- Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["MovingObject2D"]
class Type type-node
Syntax
[AddComponentMenu(Strings.MenuPrefix + "Moving Object 2D")]
[HelpURL(Strings.APIDocumentation + "/" + nameof(MovingObject2D))]
[DefaultExecutionOrder(DefaultExecutionOrder)]
public sealed class MovingObject2D : MonoBehaviour
Remarks
Documentation: Moving Platforms
Attributes
Type | Description |
---|---|
AddComponentMenu | |
HelpURLAttribute | |
Default |
Fields
Name | Constant Value | Summary |
---|---|---|
Default |
-10000 |
Update before anything else.
static
|