Example #1
0
 // Use this for initialization
 void Start()
 {
     rbody      = GetComponent <Rigidbody>();
     rbody.drag = drag;
     rbody.maxAngularVelocity = rotationSpeed;
     touchHandler             = GetComponent <touchPosition>();
 }
Example #2
0
 void Start()
 {
     touchHandler = GetComponent <touchPosition>();
 }