Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class ItemAction : MonoBehaviour
  6. {
  7. public Camera viewCamera;
  8.  
  9. private void Update()
  10. {
  11.  
  12. }
  13.  
  14. public void ViewCamera()
  15. {
  16. viewCamera.enabled = true;
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement