using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[ExecuteInEditMode]
public class ttttt : MonoBehaviour
{
private void Update()
{
print("444");
}
}
添加这个语句,即可
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[ExecuteInEditMode]
public class ttttt : MonoBehaviour
{
private void Update()
{
print("444");
}
}
添加这个语句,即可