Ejemplo n.º 1
0
    // Use this for initialization
    public void Start()
    {
        graph           = GameObject.Find("Graph");
        graphController = graph.GetComponent <GraphControler> ();

        listener   = new LeapEventListener();
        controller = new Controller(listener);
        Debug.Log("Leap start");
    }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     graphControler = transform.parent.gameObject.GetComponent <GraphControler> ();
 }