您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

16 行
286 B

  1. using System;
  2. using CIG3.ExtensionMethods;
  3. using CIGEnums;
  4. using UnityEngine;
  5. public class DontDestroyOnLoadScript : MonoBehaviour
  6. {
  7. private void Awake()
  8. {
  9. this.DontDestroyObjectOnLoad(this._mode);
  10. }
  11. [SerializeField]
  12. private DontDestroyObjectOnLoadMode _mode;
  13. }