func CreateSelfRelative(target entity<Entity>, property Property, delta object, curve BezierCurve, style TweenStyle, duration float, out var createdEntity entity<SelfRelative>, autoPlay bool)
go
| Name |
Type |
Description |
| Target |
Entity |
Target Entity |
| Property |
Property |
Attribute that needs movement change |
| Delta |
Object |
The amount of change per movement |
| Curve |
BezierCurve |
Bezier curve control points |
| Style |
TweenStyle |
Single: Stop when the property changes by Delta |
| Loop: Repeat the movement, each time the property changes by Delta |
|
|
| Duration (ms) |
Float |
The duration of a change, in milliseconds |
| Auto Play |
Bool |
Whether to automatically start playing after creation |
| Name |
Type |
Description |
| Created Entity |
PlayableSelfRelative |
Created entities with relative self-motion |