Ejemplo n.º 1
0
 private void AddModule(PositioningModule module)
 {
     lock (_lock)
     {
         _positioningModuleCollection.Add(module);
     }
 }
    public override void Initialize()
    {
        storedPositioningModule = InteractionModule2.positioningModule;
        InteractionModule2.positioningModule = InteractionModule1.positioningModule;

        InteractionModule1.gameObject.SetActive(true);
        InteractionModule2.gameObject.SetActive(true);


        if (CursorSceneObject != null)
        {
            CursorSceneObject.SetActive(true);
        }
        else if (CursorPrefab != null)
        {
            _cursorInstance = Instantiate(CursorPrefab, CursorCanvas);
        }
    }