mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
rename
This commit is contained in:
parent
937e389719
commit
3634a58bdf
@ -62,9 +62,9 @@ namespace NewHorizons.Builder.Props
|
|||||||
detailGO = newDetailGO;
|
detailGO = newDetailGO;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (detail.comment != null)
|
if (detail.rename != null)
|
||||||
{
|
{
|
||||||
detailGO.name = detail.comment;
|
detailGO.name = detail.rename;
|
||||||
}
|
}
|
||||||
|
|
||||||
detailInfoToCorrespondingSpawnedGameObject[detail] = detailGO;
|
detailInfoToCorrespondingSpawnedGameObject[detail] = detailGO;
|
||||||
|
|||||||
2
NewHorizons/External/Modules/PropModule.cs
vendored
2
NewHorizons/External/Modules/PropModule.cs
vendored
@ -116,7 +116,7 @@ namespace NewHorizons.External.Modules
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// An optional rename of the detail
|
/// An optional rename of the detail
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string comment;
|
public string rename;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Do we override rotation and try to automatically align this object to stand upright on the body's surface?
|
/// Do we override rotation and try to automatically align this object to stand upright on the body's surface?
|
||||||
|
|||||||
@ -813,7 +813,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"comment": {
|
"rename": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "An optional rename of the detail"
|
"description": "An optional rename of the detail"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user