mirror of
https://github.com/OMGeeky/UnityCodeGenerators.git
synced 2025-12-27 06:29:29 +01:00
update sample project to compile
This commit is contained in:
@@ -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" );
|
||||||
|
|||||||
Reference in New Issue
Block a user