Create Damage Num

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

Create damage tick

डिक्लेरेशन

func CreateDamageNum(content string, fontSize int, fontColor Color, duration int, target entity<Entity>, offset Vector3, randomRange Vector2, doTween bool)
go

पैरामीटर्स

इनपुट

नाम टाइप विवरण
Content String Tick content
Font Size Int Font size
Font Color Color Font Color
Duration (ms) Int Dwell time, in milliseconds
Target Entity Entity that takes damage
Offset Vector3 The offset of the damage tick relative to the target entity’s world coordinates
Random Range Vector2 The range of random position correction at the damage tick position
Do Tween Bool Whether to perform interpolation animation