mirror of https://github.com/axmolengine/axmol.git
change NodeCache to NodeReader
This commit is contained in:
parent
b2c5334de1
commit
f63939945d
|
@ -141,7 +141,7 @@ void TimelineActionTestLayer::onExit()
|
|||
backItem = restartItem = nextItem = nullptr;
|
||||
|
||||
TimelineActionCache::getInstance()->purge();
|
||||
NodeCache::getInstance()->purge();
|
||||
NodeReader::getInstance()->purge();
|
||||
|
||||
Layer::onExit();
|
||||
}
|
||||
|
@ -182,7 +182,7 @@ void TestTimelineAction::onEnter()
|
|||
{
|
||||
TimelineActionTestLayer::onEnter();
|
||||
|
||||
Node* node = NodeCache::getInstance()->createNode("TimelineAction/boy_1.ExportJson");
|
||||
Node* node = NodeReader::getInstance()->createNode("TimelineAction/boy_1.ExportJson");
|
||||
TimelineAction* action = TimelineActionCache::getInstance()->createAction("TimelineAction/boy_1.ExportJson");
|
||||
|
||||
node->runAction(action);
|
||||
|
|
Loading…
Reference in New Issue