unity,遇到问题,我在做愤怒的小鸟,实在不知道怎么办

           ** birds[i].transform.position = originPos;
            birds[i].enabled = true;
            birds[i].sp.enabed = true;
            birds[i].canMove = true;
        }
        else
        {
            birds[i].enabled = false;
            birds[i].sp.enabled = false;
            birds[i].canMove = false;
        }
    }
}

public void NextBird() ... }

问题:
Assets/scrabts/jz.cs(47,26): error CS0122: bird.sp' is inaccessible due to its protection level Assets/scrabts/jz.cs(48,26): error CS1061: Typebird' does not contain a definition for canMove' and no extension methodcanMove' of type bird' could be found. Are you missing an assembly reference? Assets/scrabts/jz.cs(53,26): error CS0122:bird.sp' is inaccessible due to its protection level
Assets/scrabts/jz.cs(54,26): error CS1061: Type bird' does not contain a definition forcanMove' and no extension method canMove' of typebird' could be found. Are you missing an assembly reference?
}

你这一堆错,第一个报错可能是你的bird类的sp定义成private类型了,第二个canMove要么也是定义成private类型,要么就没写。。。。。。