public void SaveTribe() { this.passedTitle.text.text = InputText.text; tribe.tribeName = InputText.text; tribe.gameObject.name = InputText.text; tribe.EditTribeColor(colorImage.image.color); CloseWindow(); }