public void Initialize(PaintReceiver newPaintReceiver) { stamp = new Stamp(brush); stamp.mode = paintMode; paintReceiver = newPaintReceiver; paintReceiverCollider = newPaintReceiver.GetComponent <Collider>(); }
public void Initialize(PaintReceiver newPaintReceiver) { m_PaintReceiver = newPaintReceiver; m_PaintReceiverCollider = newPaintReceiver.GetComponent <Collider>(); }