csv toolkit
codemaker2015
$0.0
(no ratings)
Date |
Price |
---|---|
日時 |
価格($) |
03/27(2024) |
0.0 |
11/25(2024) |
0.0 |
Jump AssetStore
The CSVParser package is a simple utility for reading and writing CSV files in Unity3D.CSVToolKit is your go-to solution for seamlessly managing CSV files within your Unity3D projects. Whether you're reading data from external sources or writing back to CSV files, CSVToolKit simplifies the process with its intuitive CSVParser class and practical CSVParserDemo for demonstration and integration.The CSVParser package is a simple utility for reading and writing CSV files in Unity3D. It provides a CSVParser class for parsing CSV files and a CSVParserDemo class for demonstrating its usage.CSVParser Class:CSVParser is designed as a singleton to ensure consistency and efficiency throughout your project.public class CSVParser : MonoBehaviour {// ... (class implementation)}Properties:lineSeparator: Character used as the line separator (default: '\n').fieldSeparator: Character used as the field separator (default: ',').Methods:SetLineSeparator(char separator): Set the line separator character.SetFieldSeparator(char separator): Set the field separator character.ReadData(string path, string filename): Read CSV data from a file.AddData(string path, string filename, List values): Add data to an existing CSV file.Usage Example:// Reading CSV dataList> data = CSVParser.Instance.ReadData("", "Data.csv");// Adding data to CSVCSVParser.Instance.AddData("", "Data.csv", new List{"value1", "value2"});