void OnButtonPressed(string _button) { if (Delegate != null) { InputFieldElement[] _inputList = (InputFieldElement[])InputList.Clone(); //Create a new copy and send as this object will be destroyed Delegate(_button, _inputList); } }