Guest User

Untitled

a guest
Jun 28th, 2018
77
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using AC;
  5.  
  6. public class skipLoading : MonoBehaviour {
  7.  
  8. public void Start()
  9. {
  10. Cursor.visible = true;
  11. AC.KickStarter.settingsManager.useAsyncLoading = true;
  12. AC.KickStarter.settingsManager.loadingDelay = 20;
  13.  
  14. }
  15.  
  16. public void Skip()
  17. {
  18. AC.KickStarter.settingsManager.useAsyncLoading = false;
  19. AC.KickStarter.settingsManager.loadingDelay = 0;
  20.  
  21. }
  22.  
  23.  
  24. }
RAW Paste Data