Vector3 pos = Camera.main.WorldToScreenPoint(worldPos);
pos.z = 0f;
Vector3 pos2 = UICamera.currentCamera.ScreenToWorldPoint(pos);
temp.transform.position = pos2;
注意 z至0
tmp的position 而不是localposition
Vector3 pos = Camera.main.WorldToScreenPoint(worldPos);
pos.z = 0f;
Vector3 pos2 = UICamera.currentCamera.ScreenToWorldPoint(pos);
temp.transform.position = pos2;
注意 z至0
tmp的position 而不是localposition