传奇996_19——常用函数

打印

打印到公告

  • lua版
lua 复制代码
sendmsg(*actor*, ConstCfg.notice.own, '{"Msg":"<font color=\'#ff0000\'>即将更新属性2222!!!</font>","Type":9}')
sendmsg(*actor*, 1, '{"Msg":"<font color=\'#ff0000\'>即将更新属性2222!!!</font>","Type":9}')
  • txt版
    1是打印到聊天框,9打印到界面弹出文字
txt 复制代码
sendmsg 9 9999999999999999999999999999999999
sendmsg 1 1111111111111111111111111111111111

打印到控制台(绿)

lua 复制代码
release_print("attack",actor,hiter)
release_print("attack",actor)
release_print("attack")
相关推荐
微三云生态系统架构师-彭丹1 小时前
任务卷轴积分系统架构设计:从任务状态机到合规风控的完整实现
unity·系统架构·游戏引擎
XR技术研习社3 小时前
从 PICO 文档看未来短期内的 Unity 版本选择
unity·游戏引擎·xr·vr
玖玥拾5 小时前
Unity 热更新(一)
unity·游戏引擎
KhalilRuan18 小时前
Unity性能优化
unity·性能优化·游戏引擎
五仁烧饼1 天前
Unity性能优化系列内存篇 - 移动端内存优化
unity·性能优化·游戏引擎
WiChP3 天前
【V0.1B15】从零开始的2D游戏引擎开发之路
游戏引擎
zhchyun20084 天前
# 【Unity UI 进阶】仿 Element UI 打造企业级 Unity UI 组件库(06)
ui·unity·游戏引擎
Behaviour4 天前
Unity游戏HybridCLR 热更新接入实战
游戏·unity·游戏引擎
王维志5 天前
UiSplineRenderer
unity·游戏引擎
k4m7v2pz5 天前
Godot 4 仿 agar.io:相机缩放被 max_zoom 卡死,窗口越大球越小的根因与修复
游戏引擎·godot·相机·缩放·clamp·camera2d