Search Unity

using UnityEngine.UI for dll Library

Discussion in 'Scripting' started by SebastianH468, Oct 15, 2019.

  1. SebastianH468

    SebastianH468

    Joined:
    Jul 20, 2019
    Posts:
    1
    Hey guys, quick question:
    I want to make a dll file with some classes using UnityEngine.UI, but I can't get it to work.
    I've tried in Visual Studio, Visual Studio Code and Monodevelop, it's the same everywhere,
    UnityEngine works just fine but UnityEngine.UI just throws errors.

    UInotworking.PNG

    Also I'm not sure if this is the right Subforum.
    Kind regards and thanks in advance.
     
  2. Vectorbox

    Vectorbox

    Joined:
    Jan 27, 2014
    Posts:
    232
    It seems that starting in Unity 2019.2, the UI component has been moved into Package Manager.

    There's an explanation in this post