Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: jjll on November 15, 2018, 03:21:18 PM

Title: How to get a specific UI instance and change its properties (SOLVED)
Post by: jjll on November 15, 2018, 03:21:18 PM
Hi friends,

I have been stuck in this for days...

- I have a UI prefab contains some numbers and texts.
- I create a few instances (clones) of it, each has different numbers and texts.
- I want to set different numbers on some of those instances.
- I know the instance I want to change by looking but I don't know how to get this specific instance and set its properties in Playmaker.

Any helps would be really appreciated!
 
Title: Re: How to get a specific UI instance and change its properties (change texts, etc.)
Post by: jjll on November 19, 2018, 12:24:42 PM
I figured it out -

I use array list to store all the instances created, and use the index to get the instance I want.