c++ 空のc++です。GEngineという識別子がありませんというエラーが出るのですがコンパイルが通りログが出力されるのですがこれはなぜでしょうか?
環境はvisual stduio 2017です。windows 10
試したこと
「コンパイルは成功しました」
// Fill out your copyright notice in the Description page of Project Settings. #include "MyProject.h" #include "MyProjectGameModeBase.h" void AMyProjectGameModeBase::StartPlay() { Super::StartPlay(); if(GEngine) { GEngine->AddOnScreenDebugMessage(-1,5.0f,FColor::Yellow,TEXT("Hello Wordl this is FPSGameMode!")); } }
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。