w3086379003 发表于 2017-4-24 14:22:38

【求教】一个C++引用类的问题

我想做一个图一的功能尝试,但是不知道为什么一直调用不了这个组件。

__________ 发表于 2017-4-24 14:29:57

头文件?

w3086379003 发表于 2017-4-24 14:34:46

__________ 发表于 2017-4-24 14:29
头文件?

我尝试了Widget.h的头文件,可还是有这样的问题。是我UButton的使用方式不对吗

zhaishengfu 发表于 2017-4-24 16:23:29

why there are so many "?" please show more clearly( Maybe you dont add the correct module)

__________ 发表于 2017-4-24 16:58:33

w3086379003 发表于 2017-4-24 14:34
我尝试了Widget.h的头文件,可还是有这样的问题。是我UButton的使用方式不对吗 ...

https://wiki.unrealengine.com/UMG,_How_to_extend_a_UUserWidget::_for_UMG_in_C%2B%2B.
官方文档有讲,不知道能帮到你吧

rrfetch 发表于 2017-4-27 23:49:58

这个是不是 c++ 文件的编码不一致啊。我个人喜欢用纯英文系统,原代码文件格式用 utf8 编码

kiben4 发表于 2017-4-28 11:21:03

头文件吗?!

lialpha 发表于 2017-6-29 09:16:34

why there are so many "?" please show more clearly( Maybe you dont add the correct module)

w3086379003 发表于 2017-6-30 15:35:25

lialpha 发表于 2017-6-29 09:16
why there are so many "?" please show more clearly( Maybe you dont add the correct module)

I hava solved this problem. thanks for your answer
I forget to add the module{:2_28:}

lialpha 发表于 2018-2-19 14:06:05

那是一个私有函数吧
页: [1] 2
查看完整版本: 【求教】一个C++引用类的问题