9 MeshBatch meshBatch = this.pass.batches[this.pass.batchIdx];
10 meshBatch.matrices[this.pass.idx].m03 = p.x + this.offset.x;
11 meshBatch.matrices[this.pass.idx].m13 = p.y + this.offset.y;
12 meshBatch.matrices[this.pass.idx].m23 = p.z + ((this.effectType == RenderDataLiquid.EffectType.Liquid && p.liquidLv <= 10) ? this.puddleZ : this.offset.z);
13 meshBatch.tiles[this.pass.idx] = p.tile;
14 meshBatch.colors[this.pass.idx] = p.color;
15 meshBatch.matColors[this.pass.idx] = p.matColor;
17 if (this.pass.idx ==
this.pass.batchSize)
19 this.pass.NextBatch();
24 private void OnValidate()
26 this._offset = this.offset;
30 public RenderDataLiquid.EffectType effectType;
36 public enum EffectType