Skip to content

Prima20/debug-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published

Languages