How to change programmatically the data show in the inspector?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
16 views
Unfortunately the question is not from me. This would explain how he knew

I understand that there are a lot of objects in hierarchical order. Need to go through all of them programmatically to change and save the transform, which you can see in the inspectors of these facilities.
An example of the inspector window of one of these objects below. In the screenshot you need to change the Rect transform's width and height and keep in order to run and uses of the data were different.

5bcf6fcfe789c435966524.jpeg
by | 16 views

2 Answers

0 like 0 dislike
by
0 like 0 dislike
1. Create on the canvas the script editor (in your Editor). This script will contain config and manage all the rect transform.
2. Create a custom inspector for this script, where the write button.
3. When you press the button, are all child objects, they change the parameters according to the configuration.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Apr 13, 2019 by adressmoeistranici
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
38,662 users