Files
Convention-CSharp/[Test]/Program.cs
ninemine 981157dfec BS 0.0.1
2025-06-29 15:52:06 +08:00

35 lines
718 B
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using Convention;
using Convention.EasySave;
public class Program
{
class Vector2
{
public double x, y;
}
class Vector2X2
{
public double x, y;
public Vector2 next;
}
static void Main(string[] args)
{
Directory.CreateDirectory(PlatformIndicator.PersistentDataPath);
Console.WriteLine(PlatformIndicator.PersistentDataPath);
EasySave.Save("key", new Vector2X2()
{
x = 10,
y = 20,
next = new()
{
x = 30,
y = 40
}
}, "./test.json");
}
}