internal override void OnDraw() { if (Asset) { View.OnDraw(Asset, AssetPath); OnConnectNodesQueue.Process(); } else { View.DrawCreationButton(); } }
internal override void OnDraw() { if (Asset) { try { Asset.UpdateFromDataset(); View.OnDraw(Asset, AssetPath); OnConnectNodesQueue.Process(); Asset.UploadToDataset(); } catch (Exception e) { Debug.LogException(e); } } else { View.DrawCreationButton(); } }