protected void Awake() { conCurrentLevel = Ramses.Confactory.ConfactoryFinder.Instance.Give <ConCurrentLevel>(); backButton.onClick.AddListener(() => OnBackButtonPressed()); playButton.onClick.AddListener(() => OnPlayButtonPressed()); conCurrentLevel.SetCurrentLevel(""); }
private void OnClicked() { conCurrentLevel.SetCurrentLevel(LevelName); }