예제 #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;
            }
        }