SceneConfig.cs 411 B

123456789101112131415161718
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class SceneConfig
  5. {
  6. private int id;
  7. private string sceneName;
  8. public int Id { get => id; set => id = value; }
  9. public string SceneName { get => sceneName; set => sceneName = value; }
  10. public SceneConfig(int id, string sceneName)
  11. {
  12. this.id = id;
  13. this.sceneName = sceneName;
  14. }
  15. }