BaseConfg.cs 276 B

12345678910111213141516
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using SimpleJSON;
  5. public class BaseConfig {
  6. public int id;
  7. public int sort;
  8. public virtual void Init(JSONNode json)
  9. {
  10. id = json["id"].AsInt;
  11. sort = json["sort"].AsInt;
  12. }
  13. }