Files
Continentis/Assets/Plugins/Easy Save 3/Scripts/ES3GameObject.cs
SoulliesOfficial 9b1b5ca93f initial
2025-10-03 00:02:43 -04:00

21 lines
529 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class ES3GameObject : MonoBehaviour
{
public List<Component> components = new List<Component>();
/* Ensures that this Component is always last in the List to guarantee that it's loaded after any Components it references */
private void Update()
{
if (Application.isPlaying)
return;
#if UNITY_EDITOR
UnityEditorInternal.ComponentUtility.MoveComponentDown(this);
#endif
}
}