void OnEnable() { button = ButtonFactory.GetPlatformSpecificButtonImplementation(); button.Enable("Jump", pairedWithInputManager, GetComponent <GUIElement>().GetScreenRect()); TypeSpecificOnEnable(); }
private void OnEnable() { this.m_Button = ButtonFactory.GetPlatformSpecificButtonImplementation(); this.m_Button.Enable(this.buttonName, this.pairedWithInputManager, base.GetComponent <GUIElement>().GetScreenRect()); }
void OnEnable() { m_Button = ButtonFactory.GetPlatformSpecificButtonImplementation(); m_Button.Enable(buttonName, pairedWithInputManager, GetComponent <GUIElement>().GetScreenRect()); }