using UnityEngine; public class TestSetup : MonoBehaviour { // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { // 初始化狗数据用于测试 DogProperty puppy = new DogProperty(); EnviromentSetting.puppies.Add(puppy); } // Update is called once per frame void Update() { } }