Exemplo n.º 1
0
    void OnEnable()
    {
        button = ButtonFactory.GetPlatformSpecificButtonImplementation();
        button.Enable("Jump", pairedWithInputManager, GetComponent <GUIElement>().GetScreenRect());

        TypeSpecificOnEnable();
    }
Exemplo n.º 2
0
 void OnEnable()
 {
     m_Button = ButtonFactory.GetPlatformSpecificButtonImplementation();
     m_Button.Enable(buttonName, pairedWithInputManager, GetComponent <GUIElement>().GetScreenRect());
 }
 void OnEnable()
 {
     m_Button = ButtonFactory.GetPlatformSpecificButtonImplementation ();
     m_Button.Enable(buttonName, pairedWithInputManager, GetComponent<GUIElement>().GetScreenRect());
 }