public Technology requiredTechnology; //add more if you need more than one pre-requiste private void Awake() { if (_instance != null && _instance != this) { Destroy(gameObject); } else { _instance = this; } }
public GuardianItemComponent(Subjugation subjugation) { InitializeComponent(); this.subjugation = subjugation; this.DataContext = this.subjugation; }