Scriptum/Assets/HardLight2D/Demo/DemoScripts/Speen.cs
2022-12-29 03:22:45 +01:00

12 lines
256 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Speen : MonoBehaviour
{
public float speed = 1f;
void Update ()
{
transform.Rotate (Vector3.forward, speed * Time.deltaTime * 100f);
}
}