public void Attack(Vector3 direction) { SkillShot spawned = Instantiate(m_skillShotPrefab, transform.position, Quaternion.identity) as SkillShot; spawned.Shoot(direction, gameObject); }