Server.GameObject.GameObject C# (CSharp) Méthode

GameObject() public méthode

GameObject() initializes a new ID for every GameObject object which is one more than the previous ID.
This sets the IDs so that they will always be unique.
public GameObject ( ) : System
Résultat System
        public GameObject()
        {
            id = nextId;
            nextId++;
        }