private void Update() { if (ProceduralAction.Count <= 0) { return; } InputAction act = ProceduralAction[0]; if (act.Action()) { ProceduralAction.RemoveAt(0); } }