public static Color GetColorRecord(string RecordName, string key, Color defaultValue) { RecordTable table = GetData(RecordName); return(table.GetRecord(key, defaultValue)); }
public static Vector3 GetVector3Record(string RecordName, string key, Vector3 defaultValue) { RecordTable table = GetData(RecordName); return(table.GetRecord(key, defaultValue)); }
public static int GetIntRecord(string RecordName, string key, int defaultValue) { RecordTable table = GetData(RecordName); return(table.GetRecord(key, defaultValue)); }
public static bool GetBoolRecord(string RecordName, string key, bool defaultValue) { RecordTable table = GetData(RecordName); return(table.GetRecord(key, defaultValue)); }
/// <summary> /// 获取浮点记录值 /// </summary> /// <param name="recordName"></param> /// <param name="key"></param> /// <param name="defaultKey"></param> /// <returns></returns> public static float GetFloatRecord(string recordName, string key, float defaultKey) { RecordTable table = GetData(recordName); return(table.GetRecord(key, defaultKey)); }