public void OpenAsset(CEntityAsset <CEntity> asset) { Entity = asset.GetEntity(); OnAssetOpened?.Invoke(asset, Entity); }
public void HandleDrop(object dropData) { CEntityAsset <CEntity> entityAsset = (CEntityAsset <CEntity>)dropData; CEngine.Instance.CurrentWorld.InitWithWorld(entityAsset.GetEntity()); }