14 lines
260 B
C#
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);
|
|
}
|
|
}
|
|
}
|