1,201
edits
m (Text replacement - "Roblox Legacy Documentation" to "Legacy Roblox Wiki") Tags: Mobile edit Mobile web edit |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{CatUp|Lua Help}} | {{CatUp|Lua Help}} | ||
Line 183: | Line 182: | ||
==Structural Classes== | ==Structural Classes== | ||
[[Structural_Class|Structural Classes]], or "superclasses", are objects which can't be created or used with Instance.new in game, but are the basis for other objects to inherit properties, events, and methods. For example, {{ClassRefItem|Part}}, {{ClassRefItem|TrussPart}}, and {{ClassRefItem|WedgePart}} all inherit from the structural class {{ClassRefItem|BasePart}}. | [[Structural_Class|Structural Classes]], or "superclasses", are objects which can't be created or used with Instance.new in game, but are the basis for other objects to inherit properties, events, and methods. For example, {{ClassRefItem|Part}}, {{ClassRefItem|TrussPart}}, and {{ClassRefItem|WedgePart}}, all inherit from the structural class {{ClassRefItem|BasePart}}. | ||
Essentially, they're used for creating objects that are mostly similar, but slightly diverge, such as a Part and TrussPart. They both require the same properties and methods but their physical appearance and functionality diverge. | Essentially, they're used for creating objects that are mostly similar, but slightly diverge, such as a Part and TrussPart. They both require the same properties and methods but their physical appearance and functionality diverge. |