12 lines
256 B
C#
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);
|
|
}
|
|
} |