public void RemoveAt(int index)
        {
                        #if UNITY_EDITOR
            ArrayTools.RemoveAt(ref srcArr, index);
            TextureArrayTools.RemoveAt(ref texArr, index);

            SaveSources();
                        #endif
        }
Ejemplo n.º 2
0
 public void RemoveLayer(int num)
 {
     ArrayTools.RemoveAt(ref array, num);
     TextureArrayTools.RemoveAt(ref mainTexArray, num);
     TextureArrayTools.RemoveAt(ref bumpMapArray, num);
     TextureArrayTools.RemoveAt(ref specSmoothMapArray, num);
     TextureArrayTools.RemoveAt(ref sssVanishMapArray, num);
     if (changeBlockData)
     {
         Voxeland.current.data.RemoveType((byte)num);
     }
 }