Update Samples

This commit is contained in:
hevinci
2022-07-18 14:56:12 +08:00
parent e340af90ed
commit 1fdeeb781f
357 changed files with 37151 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RotateSelf : MonoBehaviour
{
public Vector3 Axis = Vector3.up;
private float _speed = 30f;
void Update()
{
this.transform.Rotate(Axis, Time.deltaTime * _speed);
}
}