protected override void OnEnable() { base.OnEnable(); _ping = target as OSCPingClient; _intervalProperty = serializedObject.FindProperty("_interval"); _timeoutProperty = serializedObject.FindProperty("_timeout"); _autoStartProperty = serializedObject.FindProperty("_autoStart"); EditorApplication.update += Update; }