Example #1
0
    private void Throw(Vector3 direction, float speed)
    {
        if (currentSheep == null)
        {
            return;
        }

        currentSheep.transform.SetParent(null);
        currentSheep.Fling(direction, speed);
        currentSheep = null;
    }