Ejemplo n.º 1
0
    protected virtual void Awake()
    {
        if (controller == null)
        {
            controller = GetComponent <ControllerEvent>();
        }

        if (controller == null)
        {
            Debug.Log("");
            return;
        }

        //Utilities

        headset  = DeviceFinder.HeadsetTransform();
        playArea = DeviceFinder.PlayAreaTransform();
        playAreaCursorBoundaries = new GameObject[4];
    }