fix:1
This commit is contained in:
19
Assets/Scripts/App/GameEvent.cs
Normal file
19
Assets/Scripts/App/GameEvent.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
public class GameEvent
|
||||
{
|
||||
//相机控制
|
||||
public static UnityAction StartCameraControl;
|
||||
public static UnityAction StopCameraControl;
|
||||
|
||||
//UI页面控制
|
||||
public static UnityAction<PageType> OpenPage;
|
||||
public static UnityAction<PageType> ClosePage;
|
||||
public static UnityAction RefreshPage;
|
||||
|
||||
public static UnityAction<PageType, object> OpenDialog;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user