Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Creating a UI texture

Discussion in 'UGUI & TextMesh Pro' started by Maksym_Blasko, Oct 23, 2015.

  1. Maksym_Blasko

    Maksym_Blasko

    Joined:
    Oct 22, 2015
    Posts:
    10
    Hello ! I want to create a UI Texture as a GameObject (not like a component)... It is possible ? If yes, how ?
     
  2. Gardosen

    Gardosen

    Joined:
    Oct 25, 2014
    Posts:
    39
    A Texture Itselve can only exists as a Part of a Material and a Material is also a Part of a Mesh Renderer for a GameObject.

    The Only think you could do, is using the Canvas in the Unity UI System and create an Image or a Raw Image.
    Then you can work directly with it as it is a GameObject.
     
  3. Maksym_Blasko

    Maksym_Blasko

    Joined:
    Oct 22, 2015
    Posts:
    10
    Yeah, that what I was looking for... thx you !