private void OnTriggerEnter(Collider other) { blender = other.GetComponentInParent <BlenderScript>(); if (blender != null) { Debug.Log(blender); button.blender = blender; } }
public void setBlender(BlenderScript blend) { blender = blend; }