Beispiel #1
0
 void Awake()
 {
     Controller       = GameObject.Find("Bees_System").GetComponent <BeesController>();
     _TimeBeforeDeath = Controller.TimeBeforeDeathWalk - Controller.TimeBeforeDeath / UnityEngine.Random.Range(0, Controller.TimeBeforeDeath / 3);
     _speed           = Controller.speedWalk;
     beeId            = Guid.NewGuid().ToString();
     Alive            = true;
 }