Exemplo n.º 1
0
 // Use this for initialization
 void Awake()
 {
     handDraggingComp = gameObject.GetComponent <HandDragging>();
     handRotateComp   = gameObject.GetComponent <HandRotate>();
     handResizeComp   = gameObject.GetComponent <HandResize>();
     gameManagerComp  = GameObject.Find("Managers").GetComponent <GameManager>();
 }
Exemplo n.º 2
0
    public override void Start()
    {
        base.Start();
        dragScript   = interactiveArea.GetComponent <HandDragging>();
        scaleScript  = interactiveArea.GetComponent <HandResize>();
        rotateScript = interactiveArea.GetComponent <HandRotate>();

        ActivateManipulation((int)ManipulationType.DRAG);
    }