Question by
Solid_Metal · Aug 31, 2016 at 03:47 PM ·
scripting problemcomponentuser interface
How to change childAlignment option/value on GridLayoutGroup component with script ?
ike the title said, how?
i already googled, can't find anything, and the script API not help much either
thank you in advance
Comment
Best Answer
Answer by Solid_Metal · Aug 31, 2016 at 04:05 PM
eh no worry, i already find it myself use GetComponent().childAlignment = TextAnchor.MiddleCenter;
Your answer
Follow this Question
Related Questions
Can I Reference Object Components from another Scene? 0 Answers
Why is my GameObject that is attached to a script disappearing after I Play the scene. 2 Answers
How do I make GUI to appear on a game object instead of rendering it on screen? 1 Answer
C# Enable component on another GameObject using name of component 1 Answer
how do i take whats on one UI canvas and make it apear on another in real time(for a card game) 0 Answers