public GrandmaObjectData Register(GrandmaObject gObj)
        {
            if (gObj == null)
            {
                Debug.LogError("GrandmaObjectManager -> Register(): Provided object is null");
                return(null);
            }

            allObjects.Add(gObj);

            return(new GrandmaObjectData(idGen.NewID(), gObj.name));
        }
        public void Unregister(GrandmaObject gObj)
        {
            if (gObj == null)
            {
                Debug.LogWarning("GrandmaObjectManager -> Unregister(): Provided object is null");
                return;
            }

            if (allObjects.Contains(gObj) == false)
            {
                Debug.LogWarning("GrandmaObjectManager -> Unregister(): Object was not registered");
                return;
            }

            //NB: the IDGenerator will notreuse an unregistered object's ID

            allObjects.Remove(gObj);
        }