TestSetup.cs 409 B

123456789101112131415161718
  1. using UnityEngine;
  2. public class TestSetup : MonoBehaviour
  3. {
  4. // Start is called once before the first execution of Update after the MonoBehaviour is created
  5. void Start()
  6. {
  7. // 初始化狗数据用于测试
  8. DogProperty puppy = new DogProperty();
  9. EnviromentSetting.puppies.Add(puppy);
  10. }
  11. // Update is called once per frame
  12. void Update()
  13. {
  14. }
  15. }