Ejemplo n.º 1
0
    private void Start()
    {
        assetfiles    = new AssetFileMgr(this);
        assetbusiness = new AssetBusiness();

        object obj = assetbusiness.SyncLoadAsset <GameObject>("cube");

        GameObject.Instantiate <GameObject>((GameObject)obj,
                                            Vector3.zero,
                                            Quaternion.identity);
    }