📜  加载玩家偏好统一 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:25.640000             🧑  作者: Mango

代码示例1
//try this!
using UnityEngine;
using UnityEditor;

[InitializeOnLoad]
public class Startup {
    static Startup()
    {
        Debug.Log("Up and running");
    }
}

//https://docs.unity3d.com/Manual/RunningEditorCodeOnLaunch.html