Example #1
0
 public void Start()
 {
     IRWrapper.InitWrapper();
     if (IRWrapper.APIReady)
     {
     }
 }
Example #2
0
        public void FixedUpdate()
        {
            //due to dll order incositency had to move initialization into FixedUpdate
            if (initPending)
            {
                //if the scene was loaded on non-IR Vessel and then IR vessel became focused we might need to re-init the API
                IRWrapper.InitWrapper();

                UnityEngine.Debug.Log("KOS-IR: FixedUpdate reinit: " + IRWrapper.APIReady);

                initPending = false;
            }
        }
Example #3
0
        public void FixedUpdate()
        {
            //due to dll order incositency had to move initialization into FixedUpdate
            if (initPending)
            {
                //if the scene was loaded on non-IR Vessel and then IR vessel became focused we might need to re-init the API
                IRWrapper.InitWrapper();

                Safe.Utilities.SafeHouse.Logger.SuperVerbose("KOS-IR: FixedUpdate reinit: " + IRWrapper.APIReady);

                initPending = false;
            }
        }