Hi i'm just learning unity and my problem is this code below is working good right now but it seems like can be written shorter can you help me about that?
if (isboosted)
{
speed = boostSpeed;
}
if (!isboosted)
{
speed = normalSpeed;
}