void OnGUI() { if (GUILayout.Button("List all bundles")) { GameObject fetchOMatic = new GameObject(); SubmitBundleSystem derBundler = fetchOMatic.AddComponent(); derBundler.FetchList(Poit()); } } void Poit(IList narf){ Debug.Log(narf); }