Guest User

Untitled

a guest
Dec 12th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. using UnityEngine;
  2.  
  3. public class ShowIfWindows : MonoBehaviour {
  4. void Start()
  5. {
  6. #if UNITY_WINDOWS
  7. gameObject.SetActive(true);
  8. #else
  9. gameObject.SetActive(false);
  10. #endif
  11. }
  12. }
Add Comment
Please, Sign In to add comment