Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to access and change values in instantiated child toggle

Discussion in 'Prefabs' started by CDAfonso, Oct 9, 2019.

  1. CDAfonso

    CDAfonso

    Joined:
    Sep 16, 2019
    Posts:
    26
    Hello!
    I need to access a toggle inside an instantiated gameObject to get the state and change it if necessary.
    Also i need to know how many clones were created (it varies) and access each one of them.
    Can you help me?

    Thank you!
     
  2. CDAfonso

    CDAfonso

    Joined:
    Sep 16, 2019
    Posts:
    26
    Anyone?
     
  3. Well, post your code what you're doing, we are not reading minds here, unfortunately.