Update samples

This commit is contained in:
hevinci
2022-07-18 14:59:15 +08:00
parent df5f0b9c13
commit 95e6921a4e
357 changed files with 0 additions and 8 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);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 64d5737a6f10f8a45b6147e318faa22a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: