Files
2026-05-23 14:12:25 +02:00

19 lines
245 B
C#

using UnityEngine;
public class TentacleSpin : MonoBehaviour
{
public bool otherway;
private void FixedUpdate()
{
if (!otherway)
{
base.transform.Rotate(0f, 4.5f, 0f);
}
else
{
base.transform.Rotate(0f, -4.5f, 0f);
}
}
}