RemoveListener() public static method

public static RemoveListener ( GameObject obj ) : void
obj GameObject
return void
 void OnDisable()
 {
     OpenNISessionManager.RemoveListener(this.gameObject);
 }
 public void Deactivate()
 {
     IsActive = false;
     OpenNISessionManager.RemoveListener(this.gameObject);
 }