How do I convert Bool from false to true using voice commands rather than key commands?
The animator seems to be set up fine because as soon as I click on the true Bool the animation plays.
C# code that I have so far does not work…
using System.Collections;
using System.Collections.Generic;
using HoloToolkit.Unity;
using UnityEngine;
public class CalgaryOneCameraOne : MonoBehaviour
{
public float speed;
public void Update()
{
// Move from point a to point b by .2 each frame - assuming called in Update.
// Will not overshoot the destination, so .2 is the max amount moved.
transform.position = Vector3.MoveTowards(transform.position, new Vector3(2.25f, -12.94f, -8.9f), .01f);
}
public CalgaryOneCameraOne(float speed)
{
this.speed = speed;
}
}