Scriptum/Assets/HardLight2D/Demo/DemoScripts/Speen.cs

12 lines
256 B
C#
Raw Permalink Normal View History

2022-12-29 03:22:45 +01:00
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);
}
}