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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Create canvas inside prefab

Discussion in 'Scripting' started by jjuam, Feb 7, 2016.

  1. jjuam

    jjuam

    Joined:
    Jun 12, 2015
    Posts:
    51
    Hi everybody,

    I´m making an app that create several prefab to show then like a scroll bar moving the camera. I want that every prefab have its own canvas to show diferents features. How can I do that in runtime?

    Thanks a lot in advance!!
     
  2. jjuam

    jjuam

    Joined:
    Jun 12, 2015
    Posts:
    51
    Hi again,

    I try to explain better ;) I´ve created a gameobject scroll moving the camera only vertically, but I want to create another scroll horizontally in the same scene for every gameobject. My problem is that I don´t know how can I created two gameobject scroll in the same scene (both moving the camera). How can I do that??

    Thanks again!!