RiftMayhem/Assets/Vefects/Trails SRP/Scripts/Demo_TurningAround.cs
Pedro Gomes f9d27b5b01 New assets and class update
- Added new assets, effects and edited existing ones
- Added new Rogue playable class
- Added multiple new rogue abilities both knives and arrows
2025-01-13 18:41:50 +00:00

20 lines
432 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Demo_TurningAround : MonoBehaviour
{
public float rotSpeed_X;
public float rotSpeed_Y;
public float rotSpeed_Z;
public float globalSpeed = 1f;
// Update is called once per frame
void Update()
{
transform.Rotate(new Vector3(rotSpeed_X, rotSpeed_Y, rotSpeed_Z) * globalSpeed * Time.deltaTime);
}
}