Ejemplo n.º 1
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        InputEvent inputEvent = (InputEvent)target;

        if (inputEvent.inputType != InputType.NONE && GUI.changed)
        {
            inputEvent.AdaptButtonSprite();
        }
    }