// Use this for initialization void Awake() { handDraggingComp = gameObject.GetComponent <HandDragging>(); handRotateComp = gameObject.GetComponent <HandRotate>(); handResizeComp = gameObject.GetComponent <HandResize>(); gameManagerComp = GameObject.Find("Managers").GetComponent <GameManager>(); }
public override void Start() { base.Start(); dragScript = interactiveArea.GetComponent <HandDragging>(); scaleScript = interactiveArea.GetComponent <HandResize>(); rotateScript = interactiveArea.GetComponent <HandRotate>(); ActivateManipulation((int)ManipulationType.DRAG); }