using cfg.CampCfg; using System.Collections; using System.Collections.Generic; using TGS; using UnityEngine; namespace Gameplay.Camp { /// /// 建筑营地单位 /// public class BuildingCampUnit : CampUnitBase { /// /// 配置 /// public DataCampObject Cfg { get; private set; } /// /// 占用地格索引 /// public int CellIndex { get; set; } public BuildingCampUnit(GameObject root, DataCampObject cfg) : base(root) { Cfg = cfg; } public override void Dispose() { Cfg = null; base.Dispose(); } } }