public static void addListener(TextureSharedDelegate sharedCallback, SenderStoppedDelegate stoppedCallback) { if (!isInit) { Init(); } texSharedDelegate += sharedCallback; senderStoppedDelegate += stoppedCallback; }
public static void removeListener(TextureSharedDelegate sharedCallback, SenderStoppedDelegate stoppedCallback) { if (_instance == null) { return; } _instance.texSharedDelegate -= sharedCallback; _instance.senderStoppedDelegate -= stoppedCallback; }
public void addListener(TextureSharedDelegate sharedCallback, SenderStoppedDelegate stoppedCallback) { // Debug.Log ("Spout.addListener"); if (_instance == null) { return; } _instance.texSharedDelegate += sharedCallback; _instance.senderStoppedDelegate += stoppedCallback; }
public static void removeListener(TextureSharedDelegate sharedCallback, SenderStoppedDelegate stoppedCallback ) { // Debug.Log ("Spout.removeListener"); if(_instance == null)return; _instance.texSharedDelegate -= sharedCallback; _instance.senderStoppedDelegate -= stoppedCallback; }
public static void addListener(TextureSharedDelegate sharedCallback, SenderStoppedDelegate stoppedCallback ) { if(!isInit) Init (); texSharedDelegate += sharedCallback; senderStoppedDelegate += stoppedCallback; }