Advertisement

[Unity][Fungus]脚本代码拓展--获取或设置变量

阅读量:

被选中的Flowchart对象可以在查看窗体界面或流程图编辑界面时进行增删操作(Variables)

变量的类型,名称,Public、Private、Global

以下是改写后的文本

为了在Fungus手册中找到参考文献1中的关键字,在Fungus手册的右上角搜索栏内定位关键词。

设置变量的代码

SetStringVariable()

SetIntegerVariable()

SetFloatVariable()

SetTransformVariable()

SetGameObjectVariable()

SetBooleanVariable()

传递消息的代码

SendFungusMessage()

获得变量的代码

GetVariable()

GetFloatVariable()

GetIntegerVariable()

GetStringVariable()

G

全部评论 (0)

还没有任何评论哟~