Esempio n. 1
0
    // Start is called before the first frame update
    void Start()
    {
        rb = GetComponent <Rigidbody>();

        count = 0;
        SetCountText();
        winTextObject.SetActive(false);

        if (isMobileBuild)
        {
            InputSystem.EnableDevice(UnityEngine.InputSystem.Accelerometer.current);
        }
    }