コード例 #1
0
    void OnEnable()
    {
        button = ButtonFactory.GetPlatformSpecificButtonImplementation();
        button.Enable("Jump", pairedWithInputManager, GetComponent <GUIElement>().GetScreenRect());

        TypeSpecificOnEnable();
    }
コード例 #2
0
 private void OnEnable()
 {
     this.m_Button = ButtonFactory.GetPlatformSpecificButtonImplementation();
     this.m_Button.Enable(this.buttonName, this.pairedWithInputManager, base.GetComponent <GUIElement>().GetScreenRect());
 }
コード例 #3
0
 void OnEnable()
 {
     m_Button = ButtonFactory.GetPlatformSpecificButtonImplementation();
     m_Button.Enable(buttonName, pairedWithInputManager, GetComponent <GUIElement>().GetScreenRect());
 }