mirror of https://github.com/axmolengine/axmol.git
prefixing ivars
This commit is contained in:
parent
96605f801c
commit
4b1f2ccc91
|
@ -1310,8 +1310,8 @@ Mat4 Node::transform(const Mat4& parentTransform)
|
|||
|
||||
void Node::onEnter()
|
||||
{
|
||||
if (onEnterCallback)
|
||||
onEnterCallback();
|
||||
if (_onEnterCallback)
|
||||
_onEnterCallback();
|
||||
|
||||
#if CC_ENABLE_SCRIPT_BINDING
|
||||
if (_scriptType == kScriptTypeJavascript)
|
||||
|
@ -1340,8 +1340,8 @@ void Node::onEnter()
|
|||
|
||||
void Node::onEnterTransitionDidFinish()
|
||||
{
|
||||
if (onEnterTransitionDidFinishCallback)
|
||||
onEnterTransitionDidFinishCallback();
|
||||
if (_onEnterTransitionDidFinishCallback)
|
||||
_onEnterTransitionDidFinishCallback();
|
||||
|
||||
#if CC_ENABLE_SCRIPT_BINDING
|
||||
if (_scriptType == kScriptTypeJavascript)
|
||||
|
@ -1365,8 +1365,8 @@ void Node::onEnterTransitionDidFinish()
|
|||
|
||||
void Node::onExitTransitionDidStart()
|
||||
{
|
||||
if (onExitTransitionDidStartCallback)
|
||||
onExitTransitionDidStartCallback();
|
||||
if (_onExitTransitionDidStartCallback)
|
||||
_onExitTransitionDidStartCallback();
|
||||
|
||||
#if CC_ENABLE_SCRIPT_BINDING
|
||||
if (_scriptType == kScriptTypeJavascript)
|
||||
|
@ -1389,8 +1389,8 @@ void Node::onExitTransitionDidStart()
|
|||
|
||||
void Node::onExit()
|
||||
{
|
||||
if (onExitCallback)
|
||||
onExitCallback();
|
||||
if (_onExitCallback)
|
||||
_onExitCallback();
|
||||
|
||||
#if CC_ENABLE_SCRIPT_BINDING
|
||||
if (_scriptType == kScriptTypeJavascript)
|
||||
|
|
Loading…
Reference in New Issue