public void ShowMessage(string value) { Transform tM = messagePool.GetFromPool(); Message mm = tM.GetComponent <Message>(); mm.SetMessage(value); }