unity-mcp/TestProjects/UnityMCPTests/Assets/Scripts/TestAsmdef/CustomComponent.cs

19 lines
397 B
C#
Raw Normal View History

using UnityEngine;
namespace TestNamespace
{
public class CustomComponent : MonoBehaviour
{
[SerializeField]
private string customText = "Hello from custom asmdef!";
2025-10-01 04:25:33 +08:00
[SerializeField]
private float customFloat = 42.0f;
void Start()
{
Debug.Log($"CustomComponent started: {customText}, value: {customFloat}");
}
}
2025-10-01 04:25:33 +08:00
}