format spelling (#20360)

This commit is contained in:
codetypes 2019-11-22 16:07:43 +08:00 committed by minggo
parent 5b15737b3a
commit b9df4bd63b
1 changed files with 4 additions and 4 deletions

View File

@ -1738,22 +1738,22 @@ public:
* Set the callback of event EnterTransitionDidFinish. * Set the callback of event EnterTransitionDidFinish.
* @param callback A std::function<void()> callback. * @param callback A std::function<void()> callback.
*/ */
void setonEnterTransitionDidFinishCallback(const std::function<void()>& callback) { _onEnterTransitionDidFinishCallback = callback; } void setOnEnterTransitionDidFinishCallback(const std::function<void()>& callback) { _onEnterTransitionDidFinishCallback = callback; }
/** /**
* Get the callback of event EnterTransitionDidFinish. * Get the callback of event EnterTransitionDidFinish.
* @return std::function<void()> * @return std::function<void()>
*/ */
const std::function<void()>& getonEnterTransitionDidFinishCallback() const { return _onEnterTransitionDidFinishCallback; } const std::function<void()>& getOnEnterTransitionDidFinishCallback() const { return _onEnterTransitionDidFinishCallback; }
/** /**
* Set the callback of event ExitTransitionDidStart. * Set the callback of event ExitTransitionDidStart.
* @param callback A std::function<void()> callback. * @param callback A std::function<void()> callback.
*/ */
void setonExitTransitionDidStartCallback(const std::function<void()>& callback) { _onExitTransitionDidStartCallback = callback; } void setOnExitTransitionDidStartCallback(const std::function<void()>& callback) { _onExitTransitionDidStartCallback = callback; }
/** /**
* Get the callback of event ExitTransitionDidStart. * Get the callback of event ExitTransitionDidStart.
* @return std::function<void()> * @return std::function<void()>
*/ */
const std::function<void()>& getonExitTransitionDidStartCallback() const { return _onExitTransitionDidStartCallback; } const std::function<void()>& getOnExitTransitionDidStartCallback() const { return _onExitTransitionDidStartCallback; }
/** /**
* get & set camera mask, the node is visible by the camera whose camera flag & node's camera mask is true * get & set camera mask, the node is visible by the camera whose camera flag & node's camera mask is true