void Start()
    {
        mascaret = VRApplication.Instance;

        mascaret.window = new UnityWindow3D();
        mascaret.VRComponentFactory = new UnityVirtualRealityComponentFactory();
        mascaret.window.addPeripheric(new UnityKeyboard());
        mascaret.window.addPeripheric(new UnityMouse());
        mascaret.parse (applicationFile,Application.dataPath+"/StreamingAssets/");
    }
示例#2
0
 public OSDWindow(string entityName)
 {
     this.indice = indice;
     this.entityName = entityName;
     mascaret = VRApplication.Instance;
     Environment env = mascaret.getEnvironment ();
     InstanceSpecification instance = env.getInstance (this.entityName);
     Dictionary<string,Slot> ss = instance.Slots;
     first = true;
     values = new string[ss.Count];
 }
 void Start()
 {
     mascaret = VRApplication.Instance;
 }