Advertisement
Guest User

Untitled

a guest
Jun 28th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement