TestSetup.cs 549 B

1234567891011121314151617181920212223
  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. //UserProperty.puppies.Add(puppy);
  10. if (EnviromentSetting.languageData == null)
  11. {
  12. EnviromentController.InitialGameEnviroment();
  13. }
  14. }
  15. // Update is called once per frame
  16. // void Update()
  17. // {
  18. // }
  19. }