Example #1
0
 public void Reset()
 {
     _origin                = Vector3.one;
     _currentPosition       = _origin;
     _currentAngle          = 0f;
     _lineLength            = 5f;
     _lineLengthScaleFactor = 0.7f;
     _RenderManager.Clear();
     _savedPositions.Clear();
     _segmentCount = 0;
 }
Example #2
0
        protected void Update()
        {
            //Wait for the systems to be complete
            systemManager.Complete();

            //Render the results of the systems
            renderManager.Render();

            //Log any messages that where recorded on other threads
            logger?.Print();

            //Setup the systems
            renderManager.Clear();
            colliderManager.Clear();
            deltaTime.Update(Time.deltaTime);

            //Start the systems
            systemManager.Run();
        }