robber-and-dobber/Assets/FastIK/Scripts/Sample/SampleRotator.cs
2021-08-28 14:56:41 +02:00

14 lines
260 B
C#

using UnityEngine;
namespace DitzelGames.FastIK
{
public class SampleRotator : MonoBehaviour
{
void Update()
{
//just rotate the object
transform.Rotate(0, Time.deltaTime * 90, 0);
}
}
}