Ejemplo n.º 1
0
 public VirtualProfiler()
 {
     _controller = Object.FindObjectOfType(typeof(SubjectController)) as SubjectController;
     if (_controller == null)
     {
         throw new ArgumentException("Could not find the subject controller.  Please attach the 'SubjectController' script to a Unity object.");
     }
 }
Ejemplo n.º 2
0
 public VirtualProfiler()
 {
     _controller = Object.FindObjectOfType(typeof(SubjectController)) as SubjectController;
     if (_controller == null)
         throw new ArgumentException("Could not find the subject controller.  Please attach the 'SubjectController' script to a Unity object.");
 }