예제 #1
0
    private object SetHeldReset(float value)
    {
        var intValue = (int)value;

        if (intValue > 0)
        {
            intValue = -intValue;
        }
        if (intValue < -100)
        {
            intValue = -100;
        }
        HeldReset = intValue;
        PlayerPrefHelper.SetHeldReset(intValue);
        _heldResetData.text = intValue.ToString();
        return(true);
    }