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