TriLib 2.2.8
|
Represents a Mapper used to generate Game Object naming based on source Model specific data. More...
Public Member Functions | |
virtual string | Map (AssetLoaderContext assetLoaderContext, ModelNamingData data, IModel model, string readerName) |
Returns a final GameObject name based on the input Model information. | |
Represents a Mapper used to generate Game Object naming based on source Model specific data.
|
virtual |
Returns a final GameObject name based on the input Model information.
If you want to use the default TriLib GameObject naming, you can return null
from this method.
assetLoaderContext | The Asset Loader Context reference. Asset Loader Context contains the Model loading data. |
data | The original model information as name, class, id, and part number. |
model | The original model TriLib is loading. |
readerName | The name of the reader TriLib used to load the model. |
null
if the default TriLib GameObject naming has to be used.