protected GameObject GenerateKeyboardButtonAndSetPosition(MomentaryButtonFactory factory) { GameObject button = factory.Generate(); SetKeyboardButtonPosition(button); return(button); }
protected void SetButtonValues(MomentaryButtonFactory factory, StandardPanel panel, GameObject parent) { factory.parent = parent; factory.buttonProfile = momentaryButtonProfile; factory.alignment = TextAlignment.Center; factory.panel = panel; }