protected override void AddStatus(string pageId, string value) { string[] arr = value.Split(jointChar0); if (pageId == null) { _default.x = int.Parse(arr[0]); _default.y = int.Parse(arr[1]); } else { _storage[pageId] = new GearXYValue(int.Parse(arr[0]), int.Parse(arr[1])); } }
protected override void Init() { _default = new GearXYValue(_owner.x, _owner.y); _storage = new Dictionary <string, GearXYValue>(); }