Пример #1
0
 public BlockPrefabBuilder SetIcon(string spriteFile)
 {
     ThrowIfFinished();
     _customBlock.DisplaySprite = AssetBundleImport.Load <Sprite>(spriteFile);
     return(this);
 }
Пример #2
0
 public BlockPrefabBuilder SetModel(string path)
 {
     ThrowIfFinished();
     SetModel(AssetBundleImport.Load <GameObject>(path));
     return(this);
 }