public void Interacting() { if (SeedBagManager.Instance().selectedSeed != null) { if (mainBox != -1) { if (box.PlantPlant(SeedBagManager.Instance().selectedSeed.GetPlantGenes(), mainBox)) { SeedBagManager.RemoveSeeds(1); SeedBagManager.ResetSelectedSeed(); plantSelections[mainBox].canSelect = false; } } } }
public void Interacting() { if (SeedBagManager.Instance().selectedSeed != null) { if (mainBox != -1) { if (box.PlantPlant(SeedBagManager.Instance().selectedSeed.GetPlantGenes(), mainBox)) { SeedBagManager.RemoveSeeds(1); SeedBagManager.Instance().selectedSeed = null; Cursor.SetCursor(null, Vector2.zero, CursorMode.Auto); } } } }