mirror of
https://github.com/ApfelTeeSaft/Slender.git
synced 2026-08-27 03:43:28 +00:00
19 lines
245 B
C#
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);
|
|
}
|
|
}
|
|
}
|