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