Ejemplo n.º 1
0
    private void Awake()
    {
        panel = FindObjectOfType <UIpanel>();

        gridpointer          = GetComponent <VR_GridPointer>();
        pointerObjectSnapper = GetComponent <VR_pointerObjectSnapper>();
    }
Ejemplo n.º 2
0
    public override void Setup(ViewportContent controller)
    {
        base.Setup(controller);

        gridpointer     = FindObjectOfType <VR_GridPointer>();
        containerWindow = GetComponentInParent <GridContainerWindow>();
    }