화면 끝에서 다른 쪽 끝으로 이동
public float leftConstraint = 0.0f; public float rightConstraint = 0.0f; public float buffer = 1.0f; // set this so the spaceship disappears offscreen before re-appearing on other side public float distanceZ = 10.0f; void Awake() { // set Vector3 to ( camera left/right limits, spaceship Y, spaceship Z ) // this will find a world-space point that is relative to the screen // using the camera's po..
2022.06.16