UI Accelerator 2d

You are here:
← All Topics
Version: 2019.100 Requirements:uMMORPG2d, ToolsScript Define:None
Core Changes:YesTutorial Video:No

Description

Instead of redrawing UI elements once per frame, you can now throttle the update speed. Requires an adjustment to all UI scripts in your project (use text editor with Find+Replace).


Core Changes

  1. [Required] Preform on all UI scripts. See Changes...

    Locate this line:
    : MonoBehaviour

    Modify to match:

    : UCE_UIElement
  2. [Required] Preform on all UI scripts. See Changes...

    Locate this line:
    void Update()

    Modify to match:

    protected override void UCE_SlowUpdate()
  3.  

Installation

  1. [Required] Apply all core changes.
  2. [Optional] In the Inspector of the modified UI element there is now a new setting “updateInterval”. You can enter the update Interval in seconds here, to limit how often the UI gets redraw (= 1 second by default).

Extra

  • This modification won’t work on all UI elements, for example it will NOT speed up the minimap (or the minimap camera).

Support the IndieMMO Team Today!

Leave a reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.