Interface ScriptableResultChecker<T extends Number>

    • Method Detail

      • checkAndGet

        T checkAndGet​(T value,
                      T defaultValue)
        Checks and gets a value, managing the vaue of the Scriptable and the default.
        Parameters:
        value - result of a Scriptable
        defaultValue - default value for the specific option
        Returns:
        a checked value, as number