private void Update() { if (Input.GetMouseButtonDown(0)) { PlayerTool playerTool = null; playerTool = crowbar; playerTool.EquipTool(); Instantiate(duckModel); } }
private void Update() { if (Input.GetMouseButtonDown(0)) { PlayerTool playerTool = null; playerTool = crowbar; playerTool.EquipTool(); Instantiate(duckModel); } }