GetData

Trys to get the data of a specific type, returns true or false if succeeded.

    public bool TryGetData<T>(string _tableID, string _entryID, string _valueID, out T _data) where T : DataboxType

Example

    public DataboxObject database;
    public string tableName;
    public string entryName;
    public string valueName;

    FloatType _float;

    if (database.TryGetData<FloatType>(tableName, entryName, valueName, out _float))
    {
        // Return the float value 
        Debug.Log(_float.Value);
    }