柠檬好酸
龙核如何让玩家在有指定权限时显示指定hud

希望可以直接给个配置

1097838154
    方法.更新变量值('player_health','player_max_health','player_food_level','sapi_exp','sapi_exp_req','sapi_level','player_has_permission_ap.sb');
    方法.延时(300);
    方法.异步执行方法('每300毫秒重新计算绘制起始点和更新变量');

   
# 设置总体背景图(_texture后缀为贴图组件)


测试_texture:
  x: "方法.取屏幕宽度/4"
  y: "方法.取屏幕高度-80"
  width: "方法.取屏幕宽度/2"
  height: "50"
  alpha: "(方法.取变量('player_has_permission_ap.sb')==方法.合并文本('yes')) ? '100':'0'"
  texture: "HUD/hudbj.png"

第一页 上一页 下一页 最后一页