Skip to content

Commit

Permalink
Fix documentation inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeTwentyThree committed May 18, 2024
1 parent 69bff05 commit 4260536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Nautilus/Assets/PrefabInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static PrefabInfo WithTechType(string classId, bool unlockAtStart = false
/// <param name="displayName">The display name of this Tech Type, can be anything. If null or empty, this will use the language line "{enumName}" instead.</param>
/// <param name="description">The tooltip displayed when hovered in the PDA, can be anything. If null or empty, this will use the language line "Tooltip_{enumName}" instead.</param>
/// <param name="language">The language for this entry. Defaults to English.</param>
/// <param name="unlockAtStart">Whether this tech type should be unlocked on game start or not. Default to <see langword="true"/>.</param>
/// <param name="unlockAtStart">Whether this tech type should be unlocked on game start or not. Defaults to <see langword="false"/>.</param>
/// <param name="techTypeOwner">The assembly that owns the created tech type. The name of this assembly will be shown in the PDA.</param>
/// <returns>An instance of the constructed <see cref="PrefabInfo"/>.</returns>
public static PrefabInfo WithTechType(string classId, string displayName, string description, string language = "English", bool unlockAtStart = false, Assembly techTypeOwner = null)
Expand Down Expand Up @@ -109,4 +109,4 @@ public PrefabInfo WithFileName(string fileName)
{
return this with {PrefabFileName = fileName};
}
}
}

0 comments on commit 4260536

Please sign in to comment.