What does the code/function: "Enum" mean?
Asked by
8 years ago Edited 8 years ago
Recently, I've been following the wiki tutorial as I find it most reliable. However, there were some unclear statements from the wiki which I can't help myself but to ask. I like things to be specific and I'm a curious learner when it comes to computer programming.
In the day an night cycle tutorial: http://wiki.roblox.com/index.php?title=Making_a_Day/Night_Cycle
The final peace of code for the lightstreet is this:
01 | lightPart = game.Workspace.LightPart |
02 | minutesAfterMidnight = 0 |
04 | minutesAfterMidnight = minutesAfterMidnight + 10 |
05 | game.Lighting:SetMinutesAfterMidnight(minutesAfterMidnight) |
07 | if game.Lighting:GetMinutesAfterMidnight() = = 6 * 60 then |
08 | lightPart.Material = Enum.Material.Plastic |
09 | lightPart.PointLight.Enabled = false |
On line 8 of this code: "Enum.Material.Plastic", what does the code "Enum" mean?