public void Set(int index,object value,string type) { // Debug.Log("Set"+value); arrayList[index] = value; dispatchEvent(setEvent,index,"int"); }