func CreateFollow(target entity<Entity>, followTarget entity<Entity>, offset Vector3, coordinateSystem CoordinateSystemType, out var createdEntity entity<Follow>, autoPlay bool)
go
ชื่อ |
ประเภท |
คำอธิบาย |
เป้าหมาย |
Entity |
เอนทิตีเป้าหมาย |
ตามเป้าหมาย |
Entity |
เอนทิตีวัตถุที่ติดตามการเคลื่อนไหว |
ชดเชย (Offset) |
Vector3 |
ระยะทางเป็นไปตามออฟเซ็ตของพิกัดเป้าหมาย |
ระบบพิกัด |
CoordinateType |
ระบบพิกัดที่ใช้ |
เล่นอัตโนมัติ |
Bool |
จะเริ่มเล่นโดยอัตโนมัติหลังจากสร้างหรือไม่ |
ชื่อ |
ประเภท |
คำอธิบาย |
สร้างเอนทิตี้ |
PlayablePosFollow |
สร้างเอนทิตีการเคลื่อนไหวดังต่อไปนี้ |