sing UnityEngine;
public class ExampleClass : MonoBehaviour
{
private void Awake()
{
Debug.Log( "Awake" );
}
private void OnEnable()
{
Debug.Log( "OnEnable" );
}
private void Start()
{
Debug.Log( "Start" );
}
[RuntimeInitializeOnLoadMethod]
private static void OnRuntimeMethodLoad()
{
Debug.Log( "RuntimeInitializeOnLoadMethod" );
}
}