📅  最后修改于: 2022-03-11 14:57:25.640000             🧑  作者: Mango
//try this!
using UnityEngine;
using UnityEditor;
[InitializeOnLoad]
public class Startup {
static Startup()
{
Debug.Log("Up and running");
}
}
//https://docs.unity3d.com/Manual/RunningEditorCodeOnLaunch.html