Build simple script that rotates game object
This commit is contained in:
11
Assets/Scripts/RotatingLogo.cs
Normal file
11
Assets/Scripts/RotatingLogo.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class RotatingLogo : MonoBehaviour
|
||||
{
|
||||
public Vector3 speed;
|
||||
|
||||
void Update()
|
||||
{
|
||||
transform.Rotate(speed);
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/RotatingLogo.cs.meta
Normal file
11
Assets/Scripts/RotatingLogo.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 903dd5f2ae67978468e09862de06157f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user