Why static variables do not appear in Inspector in Unity

1.2k Views Asked by At

I have Example.cs which has attached to the Main Camera, and in the Main Camera's Inspector I just can see the aPoint appear. Both aPoint and bPoint are public but why static makes bPoint doesn't appear in the Inspector.

using System.Collections;
using UnityEngine;
public class Example : MonoBehavior
{
    public int aPoint;
    public static int bPoint;
}
0

There are 0 best solutions below