feat(project): refresh sample scenes and Nahida assets
This commit is contained in:
14
project/Assets/Scripts/RotateProbe.cs
Normal file
14
project/Assets/Scripts/RotateProbe.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using XCEngine;
|
||||
|
||||
namespace ProjectScripts
|
||||
{
|
||||
public sealed class RotateProbe : MonoBehaviour
|
||||
{
|
||||
public float rotateSpeed = 90f;
|
||||
|
||||
void Update()
|
||||
{
|
||||
transform.Rotate(new Vector3(0f, 1f, 0f), rotateSpeed * Time.deltaTime, Space.Self);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user