using System.Collections; using System.Collections.Generic; using UnityEngine; [ExecuteInEditMode] public class ES3GameObject : MonoBehaviour { public List components = new List(); /* 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 } }