private void Awake()
 {
     comboEnable         = true;
     normal_flicker_save = bodyParts[0].Data;
     timeEndInv          = 0;
     rb                 = GetComponent <Rigidbody2D>();
     animator           = GetComponent <Animator>();
     AngularVelocityMax = Data.MaxSpeed;
     AccelerationMax    = Data.Acceleration;
     gm                 = GameObject.FindGameObjectWithTag("GameManager").GetComponent <GameManager> ();
 }
Beispiel #2
0
 public LightAndLoc(LocationData lD, LightFlickerData lFD)
 {
     locData   = lD;
     flickData = lFD;
 }