private void OnEnable() { _target = target as MockARFoundationSetting; source = serializedObject.FindProperty("source"); preferredCamera = serializedObject.FindProperty("preferredCamera"); preferredResolution = serializedObject.FindProperty("preferredResolution"); videoPath = serializedObject.FindProperty("videoPath"); }
private void OnEnable() { Instance = this; }