You've already forked taptap2024_GJ_chidouren
init
This commit is contained in:
19
Assets/3rd/Unity-Logs-Viewer-master/Reporter/Test/Rotate.cs
Normal file
19
Assets/3rd/Unity-Logs-Viewer-master/Reporter/Test/Rotate.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class Rotate : MonoBehaviour
|
||||
{
|
||||
Vector3 angle;
|
||||
|
||||
void Start()
|
||||
{
|
||||
this.angle = this.transform.eulerAngles;
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
this.angle.y += Time.deltaTime * 100;
|
||||
this.transform.eulerAngles = this.angle;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user