翻译人:灵月散人
参考的引擎版本:4.19.1
翻译内容仅作临时参考,目的是为了降低无基础者初期的学习门槛。
所以当书写、交流、等实际使用时切记: 须以英文为准
若你对我的翻译感兴趣,请点击【博客进度/模板共享】
官网地址 | Disable Input |
---|---|
翻译 | 禁用输入 |
原文注解
Removes this actor from the stack of input being handled by a PlayerController.
将此Actor从PlayerController处理的输入堆栈中移除。
Target is Actor
对象是Actor
个人理解
可实现如:在Controller中禁用Character的输入并切换到鼠标模式,之后再Enable Input
目录树:
1.输入
参数名 数据类型 注解 Target Actor Object Reference 目标 引用Actor类型的实例对象 比如Character Player Controller Player Controller Object Reference The PlayerController whose input events we no longer want to receive. If null, this actor will stop receiving input from all PlayerControllers. 玩家控制器 引用Player Controller 类型的实例对象 如果此值为Null,则该Actor停止接收来自所有PlayerController的输入
代码:
Begin Object Class=/Script/BlueprintGraph.K2Node_CallFunction Name="K2Node_CallFunction_37"
FunctionReference=(MemberName="DisableInput",bSelfContext=True)
NodePosX=-64
NodePosY=1920
NodeGuid=3C29DB7B4916BC73666C2E8EA6A68149
CustomProperties Pin (PinId=64535B904BFC147F4D6AA7BBFCBDF3F4,PinName="execute",PinType.PinCategory="exec",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=5A1305A9445E20FCE0B030A453A7AB04,PinName="then",Direction="EGPD_Output",PinType.PinCategory="exec",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=B7002A7945E442F9BAD4B1B7638641F6,PinName="self",PinFriendlyName=NSLOCTEXT("K2Node", "Target", "Target"),PinType.PinCategory="object",PinType.PinSubCategory="",PinType.PinSubCategoryObject=Class'"/Script/Engine.Actor"',PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=EE18D93D470DD62084E633920E843F59,PinName="PlayerController",PinType.PinCategory="object",PinType.PinSubCategory="",PinType.PinSubCategoryObject=Class'"/Script/Engine.PlayerController"',PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object