C# Class BBGamelib.NSNotificationCenter

Afficher le fichier Open project: BigWoodGames/cocos2d-unity

Méthodes publiques

Méthode Description
NSNotificationCenter ( ) : UnityEngine
addObserver ( System target, Action aSelector, string aName, System sender = null ) : void
addObserverForName ( string aName, System sender, Action block ) : Object
postNotification ( NSNotification n ) : void
postNotification ( string name, System sender, NSDictionary userInfo = null ) : void
removeObserver ( System target ) : void
removeObserver ( System target, string name ) : void
removeObserver ( System target, string name, System sender ) : void

Private Methods

Méthode Description
observersForName ( string aName ) : List

Method Details

NSNotificationCenter() public méthode

public NSNotificationCenter ( ) : UnityEngine
Résultat UnityEngine

addObserver() public méthode

public addObserver ( System target, Action aSelector, string aName, System sender = null ) : void
target System
aSelector Action
aName string
sender System
Résultat void

addObserverForName() public méthode

public addObserverForName ( string aName, System sender, Action block ) : Object
aName string
sender System
block Action
Résultat System.Object

postNotification() public méthode

public postNotification ( NSNotification n ) : void
n NSNotification
Résultat void

postNotification() public méthode

public postNotification ( string name, System sender, NSDictionary userInfo = null ) : void
name string
sender System
userInfo NSDictionary
Résultat void

removeObserver() public méthode

public removeObserver ( System target ) : void
target System
Résultat void

removeObserver() public méthode

public removeObserver ( System target, string name ) : void
target System
name string
Résultat void

removeObserver() public méthode

public removeObserver ( System target, string name, System sender ) : void
target System
name string
sender System
Résultat void