Files
project-reset/Assets/Scripts/Items/Weapons/ShurikenActor.cs
2026-01-10 21:03:49 -05:00

17 lines
396 B
C#

using UnityEngine;
namespace Reset.Items{
public class ShurikenActor : WeaponActor{
public GameObject bladeRing;
void Start(){
Debug.Log(GetType());
bladeRing = relatedObject.transform.GetChild(0).gameObject;
}
void Update(){
bladeRing.transform.Rotate(Vector3.up * (180f * Time.deltaTime));
}
}
}