// Update is called once per frame void Update() { if (_init == 0) { Init(); } _init--; if (_oldSlice != Slice && _init < 0) { _cloud.SetSlice(Slice); _oldSlice = Slice; } }
public void SetSlice(int slice) { SolidChunks.SetSlice(slice); FluidChunks.SetSlice(slice); }