// Use this for initialization void Start() { //longitude = gameObject.transform.rotation.eulerAngles.y; //latitude = 0; Application.targetFrameRate = -1; ble = gameObject.GetComponent <bleLink>(); delta = 2; }
void Start() { vp = gameObject.GetComponent <VideoPlayer>(); vp.playbackSpeed = 0f; wind = gameObject.GetComponent <AudioSource>(); vp.source = VideoSource.Url; vp.url = pth; ble = maincamera.GetComponent <bleLink>(); }