示例#1
0
    public void Initialize(PaintReceiver newPaintReceiver)
    {
        stamp      = new Stamp(brush);
        stamp.mode = paintMode;

        paintReceiver         = newPaintReceiver;
        paintReceiverCollider = newPaintReceiver.GetComponent <Collider>();
    }
示例#2
0
 public void Initialize(PaintReceiver newPaintReceiver)
 {
     m_PaintReceiver         = newPaintReceiver;
     m_PaintReceiverCollider = newPaintReceiver.GetComponent <Collider>();
 }