public void Setup()
    {
        var camera = Object.FindObjectOfType <Camera>();

        if (camera == null)
        {
            var go = new GameObject("Main Camera");
            go.AddComponent <Camera>();
        }

        plugin  = new ComponentPlugin();
        context = new UFContext();
    }
Exemple #2
0
 public void Setup()
 {
     context = new UFContext();
 }