Ejemplo n.º 1
0
    IEnumerator SetCameraBack()
    {
        yield return(null);

        p_camera.SetAlphaBack();
        p_camera.SetPosForce();
    }
Ejemplo n.º 2
0
    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();
        }
    }