Beispiel #1
0
    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;
        }
    }
Beispiel #2
0
 public GuardianItemComponent(Subjugation subjugation)
 {
     InitializeComponent();
     this.subjugation = subjugation;
     this.DataContext = this.subjugation;
 }