示例#1
0
文件: IRHandler.cs 项目: pgodd/KOS
 public void Start()
 {
     IRWrapper.InitWrapper();
     if (IRWrapper.APIReady)
     {
     }
 }
示例#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;
            }
        }
示例#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;
            }
        }