예제 #1
0
        private void Awake()
        {
            if (!CompatibilityChecker.IsCompatible() || instance != null) { Destroy(this); return; }
            instance = this;
            DontDestroyOnLoad(this);

            print("[RealChute]: Running RealChute " + RCUtils.assemblyVersion);
        }
예제 #2
0
 private void Awake()
 {
     if (!CompatibilityChecker.IsAllCompatible() || instance != null)
     {
         Destroy(this); return;
     }
     instance = this;
     DontDestroyOnLoad(this);
     print("[RealChute]: Running RealChute " + RCUtils.assemblyVersion);
 }
예제 #3
0
        private void Awake()
        {
            if (!CompatibilityChecker.IsAllCompatible() || ((IntPtr.Size == 8) && (Environment.OSVersion.Platform == PlatformID.Win32NT)) || instance != null)
            {
                Destroy(this); return;
            }
            instance = this;
            DontDestroyOnLoad(this);

            print("[RealChute]: Running RealChute " + RCUtils.assemblyVersion);
        }