Exemplo n.º 1
0
 private void Start()
 {
     rb2d         = GetComponent <Rigidbody2D>();
     laser2       = GetComponent <RectTransform>();
     findPlayArea = GetComponent <FindPlayArea>();
     spShop       = GetComponent <SpriteShop>();
     location     = base.transform.position;
     FindPlayArea.setLaser2Bounds();
 }
Exemplo n.º 2
0
 void Start()
 {
     player = GetComponent <Player> ();
     shop   = GetComponent <SpriteShop> ();
 }