12 lines
271 B
C#
12 lines
271 B
C#
![]() |
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 事件类的基类,所有事件均继承于此类.内仅含一个可覆盖的OnCall
|
||
|
/// </summary>
|
||
|
public class Event : MonoBehaviour
|
||
|
{
|
||
|
public virtual void OnCall(){}
|
||
|
}
|