PickUp.FixedUpdate C# (CSharp) Method

FixedUpdate() public method

public FixedUpdate ( ) : void
return void
    void FixedUpdate()
    {
        if (EnableRoatation)
        {
            GetComponentInChildren<Transform>().Rotate(new Vector3(0, 1, 0), RotationSpeed * Time.deltaTime);
        }
    }