0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

UE5勉強日記 UPARAM(ref)

Posted at

blueprintでC++の関数を呼ぶ時に、
参照型のパラメータを同時に入力と出力として使いたい場合は
関数定義する時にUPARAM(ref)を追加する必要ある

関数定義
void Buy(UPARAM(ref) int32& Capital);
実装
void AMyGameMode::Buy(int32& Capital)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?