Ejemplo n.º 1
0
    protected void Awake()
    {
        button          = GetComponent <Button>();
        conCurrentLevel = Ramses.Confactory.ConfactoryFinder.Instance.Give <ConCurrentLevel>();

        button.onClick.AddListener(() => OnClicked());
    }
Ejemplo n.º 2
0
    protected void Awake()
    {
        conCurrentLevel = Ramses.Confactory.ConfactoryFinder.Instance.Give <ConCurrentLevel>();

        backButton.onClick.AddListener(() => OnBackButtonPressed());
        playButton.onClick.AddListener(() => OnPlayButtonPressed());
        conCurrentLevel.SetCurrentLevel("");
    }
Ejemplo n.º 3
0
 private void Initialize()
 {
     conCurrentLevel = ConfactoryFinder.Instance.Give <ConCurrentLevel>();
 }
Ejemplo n.º 4
0
 protected void Awake()
 {
     conEnemyTracker = ConfactoryFinder.Instance.Give <ConEnemyTracker>();
     comCurrentLevel = ConfactoryFinder.Instance.Give <ConCurrentLevel>();
 }