Пример #1
0
    private void Update()
    {
        startTimer += Time.deltaTime;

        if (!gameReady)
        {
            if (!gyroScope.IsCalibrated())
            {
                gyroScope.IsCalibrated();
            }
            else
            {
                if (startTimer > timeUntilStart)
                {
                    cow.Release();
                    gameReady = true;
                }
            }
        }
    }