Пример #1
0
	public IEnumerator RequestShopModeling(AsBaseEntity _entity)
	{
		_entity.SetModelObject(null);
		
		while(true)
		{
			if(m_ShopModelingLoaded == true)
			{
				Debug.Log("AsPStoreManager::RequestShopModeling: m_ShopModelingLoaded = " + m_ShopModelingLoaded + ". copy shop object.");
				_entity.SetModelObject(Instantiate(m_OriginShopModeling) as GameObject);
				break;
			}
			
			yield return null;
		}
	}