コード例 #1
0
    IEnumerator WaitSomeWhile()
    {
        cameraEffect.StartAnimation();
        yield return(new WaitForSeconds(freezeTime));

        cameraEffect.CancelAnimation();
        particle.Play();
        inst_input.AllowInput();
    }
コード例 #2
0
    void InstantiateFairy()
    {
        originCameraPos = inst_cam.transform.position;
        originCameraRot = inst_cam.transform.rotation;

        inst_input.DisableInput();

        Fairy.SetActive(true);
        cameraEffect.StartAnimation();

        startedTime = Time.time;
        StartCoroutine("CameraAnimation");
    }
コード例 #3
0
 public void StartCinema(float waitTime = float.PositiveInfinity)
 {
     cinemaEffect.StartAnimation(waitTime);
 }