Skip to content

Commit e117b29

Browse files
committed
Disable unused variable warning
1 parent 423874d commit e117b29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Runtime/Variables/ScriptableVariable.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ public abstract class ScriptableVariable<T> : ScriptableObject
1414
public abstract T value { get; set; }
1515

1616
#if UNITY_EDITOR
17+
#pragma warning disable 0414
1718
[Multiline]
1819
[SerializeField]
1920
[Tooltip("An optional description for the variable (Dev only).")]
2021
private string m_DeveloperDescription = "";
22+
#pragma warning restore 0414
2123
#endif
2224
}
2325

0 commit comments

Comments
 (0)