+玩家行为事件
+视角摇晃 +相机后处理
This commit is contained in:
@@ -34,6 +34,14 @@ namespace Event
|
||||
|
||||
public event CameraInterActHandler CameraInterAct;
|
||||
public event DialogPopHandler DialogPop;
|
||||
|
||||
public event PlayerRunStartHandler PlayerRunStart;
|
||||
public event PlayerRunningHandler PlayerRunning;
|
||||
|
||||
public event PlayerRunStopHandler PlayerRunStop;
|
||||
public event PlayerWalkStartHandler PlayerWalkStart;
|
||||
public event PlayerWalkStopHandler PlayerWalkStop;
|
||||
public event PlayerWalkingHandler PlayerWalking;
|
||||
|
||||
public void OnCameraInterAct(GameObject item)
|
||||
{
|
||||
@@ -44,5 +52,34 @@ namespace Event
|
||||
{
|
||||
DialogPop?.Invoke(new DialogPopArgs(index));
|
||||
}
|
||||
|
||||
public void OnPlayerWalkStart()
|
||||
{
|
||||
PlayerWalkStart?.Invoke();
|
||||
}
|
||||
|
||||
public void OnPlayerWalkStop()
|
||||
{
|
||||
PlayerWalkStop?.Invoke();
|
||||
}
|
||||
|
||||
public void OnPlayerWalking()
|
||||
{
|
||||
PlayerWalking?.Invoke();
|
||||
}
|
||||
|
||||
public void OnPlayerRunStart()
|
||||
{
|
||||
PlayerRunStart?.Invoke();
|
||||
}
|
||||
public void OnPlayerRunning()
|
||||
{
|
||||
PlayerRunning?.Invoke();
|
||||
}
|
||||
|
||||
public void OnPlayerRunStop()
|
||||
{
|
||||
PlayerRunStop?.Invoke();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user