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> (); }
public LightAndLoc(LocationData lD, LightFlickerData lFD) { locData = lD; flickData = lFD; }