Beispiel #1
0
 private void Awake()
 {
     _rb2d    = GetComponent <Rigidbody2D>();
     _spawner = FindObjectOfType <BloodCellSpawner>();
     _tracker = FindObjectOfType <GameTracker>();
     _sfx     = FindObjectOfType <SFXManager>();
     GenerateTravelVector();
 }
 private void Start()
 {
     bloodCellSpawner = this;
     objectPooler     = ObjectPooler.Instance;
     //bloodCellCount = 10;
 }