Esempio n. 1
0
    public void BasicAttackSpawn()
    {
        Vector3 pos = transform.position + transform.forward;

        pos.y = 1.0f;
        SkillSystem ss = Instantiate(basicAttack, pos, transform.rotation);

        ss.GetComponent <Projectile>().direction = transform.forward;
    }