public void setActiveResource(GameObject resource) { if (!canPickupResource()) { return; } activeResource = resource; if (resource.tag == "Farm") { cursor.makeSteak(); } else if (resource.tag == "River") { cursor.makeWater(); } }