public FindTreasureVM(UserDataService userdata, PopUpWindowController popUp, FoundTreasureArgs args) { UserData = userdata; TreasureArgs = args; PopUp = popUp; MessengerInstance.Register <object>(this, "Refresh", obj => { RefreshTreasureComments(); }); //when mod deletes comments }
private void Awake() { popUpWindowController = FindObjectOfType <PopUpWindowController>(); }
public HomePageVM(UserDataService userData, PopUpWindowController popUp) { PopUp = popUp; UserData = userData; }