public void OnClic() { TestGUIManager test = GetComponentInParent <TestGUIManager>(); test.CreateStationView(_station.ID); }
public void OnClic() { TestGUIManager manager = FindObjectOfType <TestGUIManager>(); manager.CreateStationView(_station.ID); }