Create a CCScene from a layer and switch to it with the default fade transition
Function switchToScene
#include <Geode/utils/cocos.hpp>cocos2d::CCLayer*layer
)layer
Layer to create a scene from
Created scene (not the fade transition)
#include <Geode/utils/cocos.hpp>Create a CCScene from a layer and switch to it with the default fade transition
layer