Skip to content

About

Debug helper in ui screen

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

debug-helper

Debug helper in ui screen

Example

Code

public class ExampleLog : MonoBehaviour
{
    [SerializeField] private Button _testBtn;
    [SerializeField] private InputField _inputField;

    Debugger debug;

    void Start()
    {
        _testBtn.onClick.AddListener(OnBtnTestClicked);

        debug = Debugger.Instance;
    }

    void OnBtnTestClicked()
    {
        string txt = _inputField.text;

        debug.Log(txt);
    }
}

Result

example

About

Debug helper in ui screen

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages