Home

Awesome

Unity-Fade

Discription

UnityでFadeIn/Outを使うAssets

How to Use

  1. Fade.csをMainCameraにアタッチ
  2. 各スクリプトで以下のように使う
var fader = Camera.main.GetComponent<Fade>();
fader.FadeIn(0.5f, () => print("Finish FadeIn!"))
     .FadeOut(0.5f, () => print("Finish FadeOut!"));

Method

FadeClass