void OnMouseDown() { if (pickup_obj.gethand1()) { if (pickup_obj.gethand1().name == "Torch") { if (!onFire) { onFire = true; } GameObject Instance = (GameObject)Instantiate(fire, transform.position, Quaternion.identity); } } if (pickup_obj.gethand2()) { if (pickup_obj.gethand2().name == "Torch") { if (!onFire) { onFire = true; } GameObject Instance = (GameObject)Instantiate(fire, transform.position, Quaternion.identity); } } }