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