架构大更

This commit is contained in:
SoulliesOfficial
2026-03-20 11:56:50 -04:00
parent e60ef64d01
commit d09b58fd80
3663 changed files with 15232012 additions and 105579 deletions

View File

@@ -1,35 +1,35 @@
using System;
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
namespace UMod.Example
{
public class UIModElement : MonoBehaviour
{
// Events
public Action<UIModElement> OnClicked;
// Public
public Text nameText;
public Text versionText;
public Text pathText;
// Events
public Action<UIModElement> OnClicked;
// Properties
public string Name
{
get { return nameText.text; }
set { nameText.text = value; }
get => nameText.text;
set => nameText.text = value;
}
public string Version
{
set { versionText.text = value; }
set => versionText.text = value;
}
public string Path
{
set { pathText.text = value; }
set => pathText.text = value;
}
// Methods
@@ -39,4 +39,4 @@ namespace UMod.Example
OnClicked(this);
}
}
}
}