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

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