protected virtual void Awake() { renderer = GetComponent<SpriteRenderer>(); collider = GetComponent<BoxCollider2D>(); bulletPool = BulletPool.Instance; enemyPool = EnemyPool.Instance; }
void Awake() { Instance = this; }