table.Inherit
Example
Example of how this function works.
Output: 1 = A
2 = Golden
3 = Apple
BaseClass:
1 = Two
2 = Orange
3 = Apple
Copies any missing data from base
to target
, and sets the target
's BaseClass
member to the base
table's pointer.
See table.Merge, which overrides existing values and doesn't add a BaseClass member.
See also table.Add, which simply adds values of one table to another.
Example of how this function works.