28 lines
785 B
C#
28 lines
785 B
C#
|
|
using System;
|
|||
|
|
using System.Collections;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using UnityEngine;
|
|||
|
|
using ZXK.Framework;
|
|||
|
|
/*******************************************************************************
|
|||
|
|
*Create By CG
|
|||
|
|
*Function 事件中心管理_发布者(被观察者)
|
|||
|
|
*******************************************************************************/
|
|||
|
|
namespace ZXK.Test
|
|||
|
|
{
|
|||
|
|
public class SenderCtrl : MonoBehaviour
|
|||
|
|
{
|
|||
|
|
//void Update()
|
|||
|
|
//{
|
|||
|
|
// if (Input.GetKeyDown(KeyCode.Space))
|
|||
|
|
// {
|
|||
|
|
// MyEventArgs args = new MyEventArgs
|
|||
|
|
// {
|
|||
|
|
// _ToolName = "发布者"
|
|||
|
|
// };
|
|||
|
|
// EventCenterManager.Instance.Dispatch(EventEnum.Test, this, args);
|
|||
|
|
// }
|
|||
|
|
//}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|