// Use this for initialization void Start() { var codes = sculptureScript = GameObject.Find("Sculpture").GetComponent <SculptureScript>(); SetAnimator(); ovconn = gameObject.AddComponent <OpenvibeASConnection>(); if (doOpenvibeASConnection) { connectOV(); } Debug.Log("animate"); animator.SetTrigger("Animate"); modelIndex = 0; }
// Use this for initialization void Start() { animate = false; sculptureScript = GameObject.Find("Sculpture").GetComponent <SculptureScript>(); animator = GameObject.Find("Sculpture").GetComponent <Animator>(); }
void Awake() { animate = false; trackedObj = GetComponent <SteamVR_TrackedObject>(); sculptureScript = GameObject.Find("Sculpture").GetComponent <SculptureScript>(); }
void Awake() { sculptureScript = GameObject.Find("Sculpture").GetComponent <SculptureScript>(); }