コード例 #1
0
    // Update is called once per frame
    protected override void Update()
    {
        base.Update();

        handleMouseDrag();
        handleWeaponSelection();

        if (weapon.loaded)
        {
            weapon.aim(mouseDrag1, mouseDrag1.magnitude / maxMagnitude);
        }
    }