修改设置界面
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
//placed on Graphics and Audio Panel with the SaveSettings function assigned to the event.
|
||||
public class OnGameobjectDisabled : MonoBehaviour
|
||||
{
|
||||
public UnityEvent OnDisabledEvent;
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
OnDisabledEvent?.Invoke();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user