Ejemplo n.º 1
0
 void Start()
 {
     _isActive     = true;
     Halay         = GameObject.Find("Halay").GetComponent <SpiralGenerator>();
     _rb           = GetComponent <Rigidbody>();
     MovementSpeed = 32;
     Anim          = transform.GetChild(1).GetComponent <Animator>();
 }
Ejemplo n.º 2
0
 public void SetUp()
 {
     spiralGenerator = new SpiralGenerator(new Point(100, 100));
 }
Ejemplo n.º 3
0
 public void SetUp()
 {
     center    = new Point(10, 10);
     generator = new SpiralGenerator(center);
 }