Unity 5 Support

Home Forums Books Unity 3D UI Essentials Unity 5 Support

This topic contains 1 reply, has 1 voice, and was last updated by  Simon (darkside) Jackson 2 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6760

    It should come as no surprise that Unity 3D UI Essentials is fully compatible with Unity 5.

    Especially since the UI system is exactly the same between Unity 4.6 and 5.0.

    As with my other title, I shall keep on top of any beta and let you know of anything new (like the new UT Combobox) or any changes arising from improvements to the UI System.

     

    Simon (Darkside) Jackson
    @SimonDarksideJ

    #8980

    Phew, been a while since I updated this post. But I’m happy to confirm there are no issues raised through the use of the UI and the code in the book.

    The only tweak that is needed is with the roll-a-ball sample in Ch5, since this was a basic port / upgrade of the original Unity example for Unity 5.

    The code auto-upgrade process for Unity 5 will replace the following in the PlayerController script.
    From:
    rigidbody.AddForce(movement * Speed * Time.deltaTime);

    To:
    GetComponent().AddForce(movement * Speed * Time.deltaTime);

    This is simply part of the path of Unity removing all the shortcuts to dependent MonoBehaviour’s (except Transform) as I detailed in the following blog post:
    https://darkgenesis.zenithmoon.com/get-prepared-for-unity-5-the-dreaded/

    Simon (Darkside) Jackson
    @SimonDarksideJ

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Unity 3D UI Essentials’ is closed to new topics and replies.