public void Init() { NetworkEventManager.Register(NetworkEventKey.Warehouse, OnReceivedInformation); DataProp data = DataManager.Instance.Load <DataProp>(); for (int i = 0; i < data.props.Count; i++) { _props.Add(new Prop() { identification = (uint)i, number = 999, parallelism = data.props[i].primary, }); } }
public void Init() { NetworkEventManager.Register(NetworkEventKey.Activity, OnReceivedInformation); }