local Action_ExecEvent = { -- 可配置参数定义,参数将显示在Action配置面板 -- 例: -- MyIntParameter = 0 EventType = ""; IsServer = 0; Param_Int = 1; Param_Str = ""; } -- 触发器激活时,将执行Action的Execute function Action_ExecEvent:Execute(...) UGCEventSystem.SendEvent(EventTypes[self.EventType], self.Param_Str) return true; end --[[ -- 需要勾选Action的EnableTick,才会执行Update -- 触发器激活后,将在每个tick执行Action的Update,直到self.bEnableActionTick为false function Action_ExecEvent:Update(DeltaSeconds) end ]] return Action_ExecEvent;