private void StartNewGame() { isMainMenu = false; // Explicitly create player Gun glock17 = new Gun("Glock 17", "9mm", 100, 20, 15, 7, 17); Gun m4a1 = new Gun("M4A1", "5.56mm", 100, 50, 25, 20, 30); PlayerBoat = new Boat(0, 0, "Player Boat", HealthBarPrefab); PlayerBoat.addNewSlot(0, 0, 1, "Gun Slot"); Slot slotRef; PlayerBoat.getSlot(0, 0, 1, out slotRef); GunSlot gunSlotRef = slotRef as GunSlot; gunSlotRef.upgradeSlot(); gunSlotRef.addGun(m4a1); gunSlotRef.addGun(m4a1); // Explicitly create enemy BoatsInWorld.Add(PlayerBoat); PlayerBoat.Draw(); BoatsInWorld.Add(new Boat(20, 10, "Enemy Boat", HealthBarPrefab)); // Prepare the scene WaterScenery.SetActive(true); if (!CameraControl.FollowBoat(ref PlayerBoat)) { Debug.Log("Camera couldn't follow the player."); } }