C# Class NashTools.EventManager

显示文件 Open project: JordanStone/ExorcistForHire

Public Methods

Method Description
AddListener ( int eventIndex, OnEvent listener ) : void
Cleanup ( ) : void
Init ( ) : void
PostNotification ( int eventIndex, Component sender, object param = null ) : void
RemoveEvent ( int eventIndex ) : void

Method Details

AddListener() public static method

public static AddListener ( int eventIndex, OnEvent listener ) : void
eventIndex int
listener OnEvent
return void

Cleanup() public static method

public static Cleanup ( ) : void
return void

Init() public static method

public static Init ( ) : void
return void

PostNotification() public static method

public static PostNotification ( int eventIndex, Component sender, object param = null ) : void
eventIndex int
sender UnityEngine.Component
param object
return void

RemoveEvent() public static method

public static RemoveEvent ( int eventIndex ) : void
eventIndex int
return void