// Use this for initialization private void Start() { nodePositions = new Transform[studySize]; // Get graphvisualizer from hierarchy and assign a transform position from a random cluster // in this case the fifth child (2nd cluster). GraphVisualizer g = FindObjectOfType <GraphVisualizer> (); transform.position = g.transform.GetChild(grabClusterPoint).GetChild(0).GetChild(1).position; recorder = FindObjectOfType <Recorder>(); nodeReferences = new Transform[studyNodes.Length]; wim = FindObjectOfType <World_Miniature_Graph>(); }
// Use this for initialization void Start() { wim = FindObjectOfType <World_Miniature_Graph>(); cam = FindObjectOfType <Miniature_Camera_Behaviour>(); }