From 15b85a6b7c9060edc0537b983c3277ad1a8f8757 Mon Sep 17 00:00:00 2001 From: TylerTemp Date: Thu, 2 Jan 2025 14:18:46 +0000 Subject: [PATCH] fix for old unity --- Editor/AutoRunner/AutoRunnerWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/AutoRunner/AutoRunnerWindow.cs b/Editor/AutoRunner/AutoRunnerWindow.cs index 63e51bd5..5c652a79 100644 --- a/Editor/AutoRunner/AutoRunnerWindow.cs +++ b/Editor/AutoRunner/AutoRunnerWindow.cs @@ -94,7 +94,7 @@ private IEnumerator RunAutoRunners() continue; } MemberInfo memberInfo = info.fieldOrProp.IsField - ? info.fieldOrProp.FieldInfo + ? (MemberInfo)info.fieldOrProp.FieldInfo : info.fieldOrProp.PropertyInfo; PropertyAttribute[] attributes = memberInfo.GetCustomAttributes() .OfType()