unity no serializefield

C#
[System.NonSerialized]
public int Num = 5;
Source

Also in C#: