private void Spawn() { Vector2 pos = Random.insideUnitCircle.normalized * .02f + (Vector2)transform.position; EnemyGenerator.Instance.GenerateEnemy(m_smallShip.ToInt(), pos); // enemy.GetComponent<Rigidbody2D>().AddForce((enemy.transform.position - transform.position).normalized * m_spawnForce, ForceMode2D.Impulse); }