protected void InitializeBase() { this.borderline = GetComponent <Borderline>(); if (this.borderline == null) { Debug.LogError("Object has no attached borderline script"); } }
private void Awake() { this.borderline = GetComponent <Borderline>(); this.bank = Game.GetInteractor <BankInteractor>(); if (Random.value > 1) { this.startDirection = true; } }
private void Awake() { this.borderline = GetComponent <Borderline>(); this.Invoke(nameof(this.SpawnEnemy), this.spawnRate); }
private void Awake() { this.borderline = GetComponent <Borderline>(); }