Serial.OnGUI C# (CSharp) 메소드

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void
    void OnGUI()
    {
        // Show debug only if enabled and by the first instance to avoid overwrite same data
        if (s_debug && this == s_instances[0]) {
            GUILayout.Label("Serial last data: " + s_lastDataIn + " (last check: " + s_lastDataCheck + ")");
        }
    }