// *************************************************** // Start [Monobehavior] // --------------------------------------------------- void Start() { mInstance = this; mPivotStartPos = Pivot.position; Hide(); }
public void Setup(FormMallSubcategories.Button inButton) { Icon.material.mainTexture = inButton.Icon; TextTop.text = inButton.TopText; TextBottom.text = inButton.BottomText; }
// *************************************************** // OnDestroy [Monobehavior] // --------------------------------------------------- void OnDestroy() { mInstance = null; }