ScreenWipe CrossFade with C#

I’m trying to port this unifycommunity.com to C#. Right now I’ve this code using UnityEngine;using System.Collections;public class GUIViews : MonoBeh - Pastebin.com which doesn’t work (nothing happens when I press space).

Is it possible to do this in C#? Am I doing something wrong?

thanks in advance,
André.

Change line 23 to:

yield return StartCoroutine(ScreenWipe.use.CrossFade(swap?cam1:cam2, swap?cam2:cam1, 2));

Note The call to StartCoroutine().

Here is a C# version of the script.[2042-screenwipe.zip|2042]

[35636-crossfade+c#.zip|35636]

There were some minor problems with Loot’s script. Try my version. It only does crossfade (non pro). The rest is up to you.