예제 #1
0
        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,
                });
            }
        }
예제 #2
0
 public void Init()
 {
     NetworkEventManager.Register(NetworkEventKey.Activity, OnReceivedInformation);
 }