Assemblies Made and Refactored Code Folders
Created assemblies for the new design code. Relocated legacy scripts into a legacy folder and made a "new_design" folder for new design.
This commit is contained in:
20
Assets/Scripts/Legacy/Holograms/RotatingHologram.cs
Normal file
20
Assets/Scripts/Legacy/Holograms/RotatingHologram.cs
Normal file
@ -0,0 +1,20 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class RotatingHologram : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private Vector3 globalRotation = Vector3.zero;
|
||||
|
||||
[SerializeField] private Vector3 localRotation = Vector3.zero;
|
||||
|
||||
// Start is called before the first frame update
|
||||
private void Start()
|
||||
{
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
private void Update()
|
||||
{
|
||||
transform.eulerAngles += globalRotation * Time.deltaTime;
|
||||
transform.Rotate(localRotation * Time.deltaTime);
|
||||
}
|
||||
}
|
11
Assets/Scripts/Legacy/Holograms/RotatingHologram.cs.meta
Normal file
11
Assets/Scripts/Legacy/Holograms/RotatingHologram.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 33ef93bdb1481e341ab083f8146e3624
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user