예제 #1
0
    public void Shoot(EntityView other)
    {
        //Laser.SetPosition(0, transform.position);
        Laser.SetPosition(1, transform.InverseTransformPoint(other.transform.position));

        other.DoDamage(Damage);
        laserObject.SetActive(true);
    }