FiE-Game/Assets/Plugins/GameDataEditor/GDERotateGODemo.cs

18 lines
361 B
C#
Raw Normal View History

2023-07-19 19:11:02 +02:00
// Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// GameDataEditor.GDERotateGODemo
using UnityEngine;
namespace GameDataEditor
{
public class GDERotateGODemo : MonoBehaviour
{
public float Speed = 1f;
public Vector3 rotateVec3;
private void Update()
{
base.transform.Rotate(rotateVec3 * Time.deltaTime * Speed);
}
}
}