最近在做Editor下的开发,很好奇在Editor下有没有Update,于是在网上查了查。。。
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.Reflection;
[InitializeOnLoad]
public class Easy2DeditorUpdate {
static Easy2DeditorUpdate() {
EditorApplication.update += Update;
}
static void Update() {
Debug.Log("");
}
}