Esempio n. 1
0
    protected virtual void Function()
    {
        if (disabled)
        {
            return;
        }

        physic.AddForce(force * direction * physic.Weight * Time.deltaTime);
    }