public override void GetBuffer() { if (trail == null) { trail = GetComponent <TrailBuffer>(); } }
public override void GetBuffer() { if (tBuffer == null) { tBuffer = GetComponent <TrailBuffer>(); } if (buffer == null) { buffer = tBuffer.particles; } }
public override void GetBuffer() { if (buffer == null) { buffer = GetComponent <TransferVertBuffer>(); } if (triBuffer == null) { triBuffer = GetComponent <TransferTriBuffer>(); } if (particleBuffer == null) { particleBuffer = GetComponent <TrailBuffer>(); } trailBuffer = (TrailBuffer)particleBuffer; material.SetBuffer("_transferBuffer", buffer._buffer); }
public virtual void GetBuffer() { buffer = GetComponent <TrailBuffer>(); }