axmol/tests/fairygui-tests/Classes/HitTestScene.cpp

11 lines
223 B
C++
Raw Normal View History

2020-08-04 13:15:02 +08:00
#include "HitTestScene.h"
USING_NS_CC;
void HitTestScene::continueInit()
{
UIPackage::addPackage("UI/HitTest");
_view = UIPackage::createObject("HitTest", "Main")->as<GComponent>();
_groot->addChild(_view);
}