Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: brianasu on September 16, 2014, 09:57:55 PM

Title: Can I call Init on UIInput value getter?
Post by: brianasu on September 16, 2014, 09:57:55 PM
Is it safe to call if (mDoInit) Init(); in the UIInput value getter? I need to get the mDefaultText before anything is set. Thanks
Title: Re: Can I call Init on UIInput value getter?
Post by: ArenMook on September 17, 2014, 12:26:42 PM
Yup. I'll add the same line to the getter.