示例#1
0
    public static void Fire(Vector3 position, Vector3 direction)
    {
        if (IsFiring)
        {
            return;
        }

        TargetChanged();
        AddPosition(position, direction);
        IsFiring = true;

        PieceController.UpdateProbes();
        instance.StartCoroutine(TurnOff());
    }