refactor(Facility): 使用继承让所有机关都拥有了独自的 可交互 可编辑 可连接设定。大面积重构
This commit is contained in:
6
Assets/Script/Gameplay/Interface/IGaze.cs
Normal file
6
Assets/Script/Gameplay/Interface/IGaze.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using UnityEngine;
|
||||
public interface IGaze
|
||||
{
|
||||
void OnGazeEnter(GameObject go); // 玩家开始注视时触发
|
||||
void OnGazeExit(GameObject go); // 玩家停止注视时触发
|
||||
}
|
||||
Reference in New Issue
Block a user