DotCloud/Assets/TestFileClass.cs

14 lines
265 B
C#
Raw Normal View History

2024-12-09 16:51:45 +08:00
using UnityEngine;
namespace ZC;
public class TestFileClass: MonoBehaviour
{
[ContextMenu("Test")]
public void Test()
{
IPerson person = PersonManager.CreatePerson("ZXL", 25);
Debug.Log($"Name:{person.name} Age:{person.age}");
}
}