public void PackageLogicFrame(InstructFrame instructFrame) { lock (NowLogicFrame.instructFrames) { NowLogicFrame.instructFrames.Add(instructFrame); } }
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)); }