.mm ファイルを別のファイルにインポートしようとすると、エラーが発生します。そのようなビルド:
最初のクラスFailedMenuLayer
は .mm で、その .h に含まれています:
#import "gameScene.h"
2 番目のクラス gameScene
は .mm で、その .h に含まれています。
#import "FailedMenuLayer.h"
FailedMenuLayer *menuGO; //here i get the error: unknown type FailedMenuLayer .
何故ですか ?