// Start is called before the first frame update void Start() { mesh = GetComponent <MeshRenderer>(); coins = GameObject.Find("coin_manager").GetComponent <coin_control>(); mesh.enabled = false; }
// Start is called before the first frame update void Start() { coins = GameObject.Find("coin_manager").GetComponent <coin_control>(); startHealth = health; }