you really gotta calm down, marisa...
This commit is contained in:
parent
13bb58ea03
commit
b9fb490dce
68 changed files with 990 additions and 44 deletions
10
Assets/Scripts/Projectiles/SpinSprite.cs
Normal file
10
Assets/Scripts/Projectiles/SpinSprite.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
using UnityEngine;
|
||||
|
||||
public class SpinSprite : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private float rotationSpeed;
|
||||
void Update()
|
||||
{
|
||||
transform.eulerAngles = new Vector3(0, 0, transform.eulerAngles.z + (rotationSpeed * Time.deltaTime));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue