public void UseSkill() { Egg egg = MonoBehaviour.Instantiate(_eggPrefab).GetComponent <Egg>(); egg.SetEggDamage(_eggDamage); view.PlayEggSound(); egg.transform.position = _eggSpawnPoint.position; egg.GetComponent <Rigidbody2D>().AddForce(new Vector2(_eggSpawnPoint.right.x, 1).normalized *_throwForce, ForceMode2D.Impulse); }