void InputManager::UpdateInputPassingRecursively() { RETURN_IF_FALSE(mIsDirty); IScene* scene = SceneManager::Instance().RunningScene(); scene->ResetInputPassing(); FOR_EACH_COLLECTION(i, mDispatchers) { INode* node = *i; node->EnableInputPassing(); }