Search Unity

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:
    7
    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:
    7
    Anyone?
     
  3. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    4,531
    Well, post your code what you're doing, we are not reading minds here, unfortunately.