summaryrefslogtreecommitdiff
path: root/Thronefall_1_57/Thronefall/Thronefall/SimpleRotator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Thronefall_1_57/Thronefall/Thronefall/SimpleRotator.cs')
-rw-r--r--Thronefall_1_57/Thronefall/Thronefall/SimpleRotator.cs23
1 files changed, 0 insertions, 23 deletions
diff --git a/Thronefall_1_57/Thronefall/Thronefall/SimpleRotator.cs b/Thronefall_1_57/Thronefall/Thronefall/SimpleRotator.cs
deleted file mode 100644
index aa2d0b4..0000000
--- a/Thronefall_1_57/Thronefall/Thronefall/SimpleRotator.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using UnityEngine;
-
-public class SimpleRotator : MonoBehaviour
-{
- public Vector3 rotationDelta;
-
- public Space relativeTo;
-
- public bool randomYRotationOnEnable;
-
- private void OnEnable()
- {
- if (randomYRotationOnEnable)
- {
- base.transform.Rotate(Vector3.up * Random.value * 360f, Space.World);
- }
- }
-
- private void Update()
- {
- base.transform.Rotate(rotationDelta * Time.deltaTime, relativeTo);
- }
-}