Esempio n. 1
0
    // Use this for initialization
    void Start()
    {
        MindMapManager mmmgr = (MindMapManager)MonoBehaviour.FindObjectOfType(typeof(MindMapManager));

        _line.SetPosition(0, mmmgr._currentPos);
        _line.SetPosition(1, this.transform.position);
    }
Esempio n. 2
0
    public void TouchDown(Vector3 pos)
    {
        MindMapManager mmmgr = (MindMapManager)MonoBehaviour.FindObjectOfType(typeof(MindMapManager));

        mmmgr._currentPos = pos;         //생성된 노드의 현재위치를 저장한다.


        Debug.Log("  " + this.name);
    }