Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     tbu         = obj_tbu.GetComponent <TouchButtonRight> ();
     tbd         = obj_tbd.GetComponent <TouchButton> ();
     cMovement   = obj_camera.GetComponent <CameraMovment> ();
     ridigbody2d = gameObject.GetComponent <Rigidbody2D> ();
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     touchButtonRight  = objtbr.GetComponent <TouchButtonRight> ();
     touchButtonRight2 = objtbr2.GetComponent <TouchButtonRight> ();
     touchButtonRight3 = objtbr3.GetComponent <TouchButtonRight> ();
     touchButtonRight4 = objtbr4.GetComponent <TouchButtonRight> ();
     touchButtonRight5 = objtbr5.GetComponent <TouchButtonRight> ();
 }
Ejemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     tbr = obj_button.GetComponent <TouchButtonRight> ();
 }