public void onPushNightSuccess() { Debug.Log("GamePotEventListener::onPushNightSuccess()"); if (cbPushNightEnable != null) { cbPushNightEnable(true); cbPushNightEnable = null; } else { if (GamePotInterface != null) { GamePotInterface.onPushNightSuccess(); } } }