Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

Script working in Unity but not with Hololens

$
0
0
So I got this script and it works perfectly fine when I press the play button in Unity but it does not on my hololens.

Any help/tips/suggestions?

Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3. public class SphereRotation : MonoBehaviour
  4. {
  5.     void Start()
  6.     {
  7.     }
  8.  
  9.     void Update()
  10.     {
  11.         transform.Rotate(Vector3.up * Time.deltaTime * 150);
  12.  
  13.     }
  14. }

Viewing all articles
Browse latest Browse all 12131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>