Update v10.6 Custom 3D UI, VR improvements, & Looking For Players!
Author: Knil,
published 6 years ago,
Hey everyone we got another patch for you guys today focused on improving the new Custom UI by adding the ability to attach them to 3d objects in the game. Also many VR Improvements especially for Oculus. Last and not least a new looking for players indicator on the server browser.
[img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/clans/5854753/d4bbeb3377cc6f3fe163a40e54a389c9887615c1.png[/img]
[h1]Custom UI[/h1]
[list]
[*]Supports 3D UI attached to Objects.
[*]Each object can have its own assets (images)
[*]UI.getXml() and UI.setXml() added, allows for dynamic UI creation from a string. Expect more ways to dynamically spawn to added in the future.
[*]Click sounds added for the UI.
[*]Player colors now match TTS colors. For example, "red" is now equivalent to the player color red exactly.
[*]Dragging is improved so the element doesn't snap to its rectAlignment when dragged.
[*]Fixed changing active attribute from scripts the visibility attribute would sometimes not work correctly.
[*]Added position attribute and fixed rotation to work like you would expect.
[*]Scale of onscreen UI based on resolution height instead of width.
[*]Custom UI hides correctly whenever there is a popup dialog.
[*]Scripting editor now has two modes Lua and UI that let you edit their respective scripts per Object or Global.
[/list]
[h1]VR Improvements[/h1]
[list]
[*]Fixed grabbing objects messing with rotation.
[*]Selection box will use laser position if laser is on.
[*]Fixed selection box placement bug.
[*]Added icon showing current tool mode.
Fixed Rift controls:
[*]Gem now defaults to angled and is better positioned
[*]Trigger activates laser and UI objects
[*]Stick controls activate properly (teleport works on click, rotation will repeat on hold)
[*]Stick UI becomes visible when stick touched.
New console commands:
[*]vr_card_in_hand
[*]vr_laser_beam_opacity
[*]vr_laser_beam_visible
[*]vr_mode_icon_colored
[*]vr_thumbstick_icons_constant
[*]vr_thumbstick_repeat_duration
[*]vr_trigger_activates_laser
[*]vr_trigger_activates_ui
[/list]
[h1]Looking For Players[/h1]
[list]
[*]New looking for players indicator on the server browser. This will be default on for all servers.
[*]This can be changed in game by going Options -> Server.
[*]Can also be set from scripting with setLookingForPlayers(bool).
[/list]
[h1]General[/h1]
[list]
[*]Updated to Unity 5.6.6.
[*]Fixed thumbnail preview image causing image to being lower resolution than it should in the world.
[/list]