We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49003df commit c0a2b29Copy full SHA for c0a2b29
com.unity.ml-agents/Runtime/Policy/BehaviorParameters.cs
@@ -30,7 +30,14 @@ enum BehaviorType
30
InferenceDevice m_InferenceDevice;
31
[HideInInspector]
32
[SerializeField]
33
+
34
+ // Disable warning /com.unity.ml-agents/Runtime/Policy/BehaviorParameters.cs(...):
35
+ // warning CS0649: Field 'BehaviorParameters.m_BehaviorType' is never assigned to,
36
+ // and will always have its default value
37
+ // This field is set in the custom editor.
38
+ #pragma warning disable 0649
39
BehaviorType m_BehaviorType;
40
+ #pragma warning restore 0649
41
42
43
string m_BehaviorName = "My Behavior";
0 commit comments