コード例 #1
0
    protected void Awake()
    {
        conCurrentLevel = Ramses.Confactory.ConfactoryFinder.Instance.Give <ConCurrentLevel>();

        backButton.onClick.AddListener(() => OnBackButtonPressed());
        playButton.onClick.AddListener(() => OnPlayButtonPressed());
        conCurrentLevel.SetCurrentLevel("");
    }
コード例 #2
0
 private void OnClicked()
 {
     conCurrentLevel.SetCurrentLevel(LevelName);
 }