Files
2026-02-21 16:46:09 -08:00

22 lines
412 B
C#

using UnityEngine;
using System.Collections;
namespace Com.LuisPedroFonseca.ProCamera2D.TopDownShooter
{
public class ObjectRotate : MonoBehaviour
{
public Vector3 Rotation = Vector3.one;
Transform _transform;
void Awake()
{
_transform = transform;
}
void LateUpdate()
{
_transform.Rotate(Rotation);
}
}
}