Ejemplo n.º 1
0
 private void Start()
 {
     lr            = GetComponent <LineRenderer>();
     drawControl   = drawControlObject.GetComponent <HoldController>();
     drawControlRT = drawControlObject.GetComponent <RectTransform>();
     m_originalDrawControlObjectLocalScale = drawControlObject.transform.localScale;
     CircleSize = m_originalDrawControlObjectLocalScale.x * drawControlRT.rect.width;
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     drawControl = drawControlObject.GetComponent <HoldController>();
 }