private void FixedUpdate() { float endTime = startTime + shieldTime; if (Time.fixedTime < (endTime)) { Ko.ShieldMe(true); } else { Ko.ShieldMe(false); dialogue.TriggerDialogue(); enabled = false; // we're done here. } }
override protected void Invoker(string bla) { koMove.ShieldMe(true); //shielding = true; }