Esempio n. 1
0
    private void OnEnable()
    {
        if (Instance == null)
        {
            Instance = this;
        }
        else
        {
            if (Instance != this)
            {
                Destroy(this.gameObject);
            }
        }



        SetEasyDifficulty();
    }
Esempio n. 2
0
 public void Initialize(string Text, int xLocation, int yLocation, HackingPanel panel)
 {
     SetContent(Text);
     HackingPanel = panel;
     GridLocation = new Vector2(xLocation, yLocation);
 }