21 lines
529 B
C#
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
|
|
}
|
|
}
|