示例#1
0
        public override void Update()
        {
            PreUpdate();
            physicsExample.Update();

            UserVars.setValue("MeshCount", physicsExample.GetElements());

            PostUpdate();
        }
示例#2
0
        public override void Update()
        {
            physicsExample.Update(ElapsedTime, TimeBetweenUpdates);

            UserVars.setValue("MeshCount", physicsExample.GetElements());
        }