IEnumerator SetCameraBack() { yield return(null); p_camera.SetAlphaBack(); p_camera.SetPosForce(); }
private void OnTriggerEnter(Collider other) { var dv = other.transform.position - selfTransform.position; if (other.CompareTag("Player")) { other.transform.position = trans_exit.position + dv; //other.transform.rotation = trans_exit.rotation; simpleCamera.SetPosForce(); } }