当我创建一个 cocos2d-x 项目时,窗口是这样的:
当我新建一个文件时,窗口如下:
如何新建一个继承 CCLayerColor 的文件?
我不知道在 Xcode 中,但在 Visual Studios 中的Right Click->Properties->C/C++->General->Additional Include Directories
There are Cocos 2dx Files are included where a files contains .If CCLayerColor
you want to find it in Cocos 2d-x folder go to <Cocos 2d-x Home Folder>cocos2dx\layers_scenes_transitions_nodes\CCLayer.h
You can find it there。