Esempio n. 1
0
        public void ListImportableObjects()
        {
            assetBank = ToolsManager.GetTool("AssetBank").GetComponent <AssetBank>();
            // Add Blender asset bank assets
            GlobalState.blenderBankImportObjectEvent.AddListener(OnBlenderBankObjectImported);
            GlobalState.blenderBankListEvent.AddListener(OnBlenderBank);
            BlenderBankInfo info = new BlenderBankInfo {
                action = BlenderBankAction.ListRequest
            };

            MixerClient.Instance.SendBlenderBank(info);
        }