示例#1
0
 public void PackageLogicFrame(InstructFrame instructFrame)
 {
     lock (NowLogicFrame.instructFrames)
     {
         NowLogicFrame.instructFrames.Add(instructFrame);
     }
 }
示例#2
0
        public SynTest()
        {
            The = this;
            InstructFrame instructFrame = new InstructFrame
            {
                Openid = "DJ"
            };

            instructFrame.Synchro.TouchDirection = Direction.Down;
            instructFrame.Synchro.TouchPosition.Fill(new UnityEngine.Vector2(1, 1));
            Console.WriteLine(JsonConvert.SerializeObject(instructFrame));
        }