Beispiel #1
0
    // Update is called once per frame
    void Update()
    {
        fade.fadeIn(new Color(0, 0, 0), 0.8f);

        /*if (res) {
         *      res = fade.fadeOut (new Color (0, 0, 0), 0.8f);
         *
         *      if(res) {
         *              Application.LoadLevel("DavidScene2");
         *      }
         * }*/
    }