update sample project to compile

This commit is contained in:
OMGeeky
2024-03-31 00:15:44 +01:00
parent 62e7cf1286
commit 5297585cec

View File

@@ -17,10 +17,10 @@ public partial class Test1 : AtVisualElement
// [UxmlTrait( "health" , 9 )] // [UxmlTrait( "health" , 9 )]
// public int MyProperty { get; set; } // public int MyProperty { get; set; }
[UxmlTrait( "health2" , 8)] public int MyField; // [UxmlTrait( "health2" , 8)] public int MyField;
[UxmlTrait( "health1" , 8)] public int MyField2{get; set; } // [UxmlTrait( "health1" , 8)] public int MyField2{get; set; }
[UxmlTrait( "health1" , false)] public bool MyBoolField2; // [UxmlTrait( "health1" , false)] public bool MyBoolField2;
[UxmlTrait( "health1" , "hi")] public string MyStringField2; // [UxmlTrait( "health1" , "hi")] public string MyStringField2;
public void Test123() public void Test123()
{ {
Debug.Write( "test" ); Debug.Write( "test" );