C# Class Messenger, tf_client

Inheritance: MonoBehaviour
显示文件 Open project: wids-eria/tf_client Class Usage Examples

Public Methods

Method Description
AddListener ( string eventType, Action, handler ) : void
Broadcast ( string eventType ) : void
Broadcast ( string eventType, MessengerMode mode ) : void
RemoveListener ( string eventType, Action, handler ) : void

Method Details

AddListener() public static method

public static AddListener ( string eventType, Action, handler ) : void
eventType string
handler Action,
return void

Broadcast() public static method

public static Broadcast ( string eventType ) : void
eventType string
return void

Broadcast() public static method

public static Broadcast ( string eventType, MessengerMode mode ) : void
eventType string
mode MessengerMode
return void

RemoveListener() public static method

public static RemoveListener ( string eventType, Action, handler ) : void
eventType string
handler Action,
return void