unity NonSerializedAttribute' could not be found code example
Example: make all variables nonserizlized unity
[SerializeField]
private float num1;
private float num2;
private float num3;
private float num4;
[/SerializeField]
[SerializeField]
private float num1;
private float num2;
private float num3;
private float num4;
[/SerializeField]