Beispiel #1
0
        public void PassGameObjectToPlace(string objId)
        {
            if (cloneObj != null)
            {
                Destroy(cloneObj);
            }

            CloseAll();
            hasObj     = true;
            cloneObj   = null;
            objToPlace = RessourcesManager.GetInstance().GetObjBase(objId).objPrefab;
        }
Beispiel #2
0
 void Awake()
 {
     instance = this;
 }