static void Init() { SCWindow window = (SCWindow)GetWindow(typeof(SCWindow), false, "Texture Cruncher"); window.minSize = new Vector2(900, 600); window.Show(); }
//A la finestra de creació de cançó, cambia al de la finestra on escull el bateria a la creació de la cançó void ChangeDtoSC() { drumCard.gameObject.SetActive(false); drumCard1.gameObject.SetActive(false); drumCard2.gameObject.SetActive(false); drumCard3.gameObject.SetActive(false); drumWindow.SetActive(false); SCWindow.SetActive(true); gameManager.GetComponent <SongCreation>().enabled = true; }