引擎世界丨EngineWorld.CN

标题: 【求教】一个C++引用类的问题 [打印本页]

作者: w3086379003    时间: 2017-4-24 14:22
标题: 【求教】一个C++引用类的问题
我想做一个图一的功能尝试,但是不知道为什么一直调用不了这个组件。

作者: __________    时间: 2017-4-24 14:29
头文件?
作者: w3086379003    时间: 2017-4-24 14:34
__________ 发表于 2017-4-24 14:29
头文件?

我尝试了Widget.h的头文件,可还是有这样的问题。是我UButton的使用方式不对吗
作者: zhaishengfu    时间: 2017-4-24 16:23
why there are so many "?" please show more clearly( Maybe you dont add the correct module)
作者: __________    时间: 2017-4-24 16:58
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
这个是不是 c++ 文件的编码不一致啊。我个人喜欢用纯英文系统,原代码文件格式用 utf8 编码
作者: kiben4    时间: 2017-4-28 11:21
头文件吗?!
作者: lialpha    时间: 2017-6-29 09:16
why there are so many "?" please show more clearly( Maybe you dont add the correct module)
作者: w3086379003    时间: 2017-6-30 15:35
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
作者: lialpha    时间: 2018-2-19 14:06
那是一个私有函数吧
作者: w3086379003    时间: 2018-3-1 15:06
zhaishengfu 发表于 2017-4-24 16:23
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




欢迎光临 引擎世界丨EngineWorld.CN (https://www.engineworld.cn/) Powered by Discuz! X3.5