コード例 #1
0
    public void Attack(Vector3 direction)
    {
        SkillShot spawned = Instantiate(m_skillShotPrefab, transform.position, Quaternion.identity) as SkillShot;

        spawned.Shoot(direction, gameObject);
    }