111
This commit is contained in:
12
Assets/ThirdParty/BruteForce/Scripts/BF_Rotator.cs
vendored
Normal file
12
Assets/ThirdParty/BruteForce/Scripts/BF_Rotator.cs
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class BF_Rotator : MonoBehaviour
|
||||
{
|
||||
public float RotSpeed = 1;
|
||||
void Update()
|
||||
{
|
||||
this.transform.Rotate(new Vector3(0, RotSpeed*Time.deltaTime, 0), Space.World);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user