private void OnEnable() { if (Instance == null) { Instance = this; } else { if (Instance != this) { Destroy(this.gameObject); } } SetEasyDifficulty(); }
public void Initialize(string Text, int xLocation, int yLocation, HackingPanel panel) { SetContent(Text); HackingPanel = panel; GridLocation = new Vector2(xLocation, yLocation); }