Publications
Here are a few tips for improving the performance of the Unity editor (note: these don't improve the performance of your game, but the speed at which you can do your work in the Unity editor). Assembly Definitions Breaking up your code into assembly definitions reduces the amount of recompiling Unity needs to do when you make code changes. It works by siloing your code into different assemblies, w...
Unity Editor Performance Tips
Sep 25, 2023
190 Vues
If you want to make an object spin in Unity, just attach this simple script to it: using System.Collections; using System.Collections.Generic; using UnityEngine; public class MakeItemSpin : MonoBehaviour { [SerializeField] Vector3 rotateSpeed; private void Update() { transform.Rotate(rotateSpeed.x * Time.deltaTime, rotateSpeed.y * Time.deltaTime , rotateSpeed.z * Time.deltaTime); } } Set a spin sp...
Object Spin Unity Script
Sep 11, 2023
49 Vues