Create Self Relative

Playable
दोनों तरफ
क्राफ्टलैंड स्टूडियो मोबाइल और पीसी दोनों पर उपलब्ध है

Create relative self-motion, the target entity changes each time relative to its current attribute value

डिक्लेरेशन

func CreateSelfRelative(target entity<Entity>, property Property, delta object, curve BezierCurve, style TweenStyle, duration float, out var createdEntity entity<SelfRelative>, autoPlay bool)
go

पैरामीटर्स

इनपुट

नाम टाइप विवरण
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

आउट

नाम टाइप विवरण
Created Entity PlayableSelfRelative Created entities with relative self-motion