예제 #1
0
    void RpcDoShootEffect(float increaseSpeed, bool _hitScan)
    {
        if (isLocalPlayer)
        {
            return;
        }
        GameObject MoveArrow;

        MoveArrow = Instantiate(vfx[1], firePoint.transform.position, Quaternion.identity);
        MoveArrow.transform.localRotation = firstPerson.GetCamRotation();
        MoveArrow.GetComponent <MoveServerArrow>().UpdateSpeed(increaseSpeed, _hitScan, null);
        increaseSpeed = speed;
    }