1234567891011121314151617181920212223242526272829 |
- using UnityEngine;
- public class TestSetup : MonoBehaviour
- {
- void Awake()
- {
- // 初始化狗数据用于测试
- DogProperty puppy = new DogProperty();
- UserProperty.dogs.Add(puppy);
- if (EnviromentSetting.languageData == null)
- {
- EnviromentController.InitialGameEnviroment();
- }
- }
- // Start is called once before the first execution of Update after the MonoBehaviour is created
- void Start()
- {
-
- }
- // Update is called once per frame
- // void Update()
- // {
- // }
- }
|