mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-11-04 12:51:48 +00:00
29 lines
649 B
C#
29 lines
649 B
C#
using GlitchyEngine;
|
|
using GlitchyEngine.Math;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace TestProject.Assets.Scripts;
|
|
|
|
public class SimpleGenericClass<T>
|
|
{
|
|
public T MyField;
|
|
}
|
|
|
|
public struct SimpleGenericStruct<T>
|
|
{
|
|
public T MyField;
|
|
}
|
|
|
|
public class AdvancedSerializationTest : Entity
|
|
{
|
|
public (int Prim, float2 Struc, BClass Ref) LeTuple;
|
|
|
|
public List<(int Prim, float2 Struc, BClass Ref)> LeListDeTuple;
|
|
|
|
public SimpleGenericStruct<float> GenericStructField = new SimpleGenericStruct<float>();
|
|
|
|
public SimpleGenericClass<double> GenericClassField = new SimpleGenericClass<double>();
|
|
}
|