Skip to content

Commit

Permalink
ExportName protected setter
Browse files Browse the repository at this point in the history
EnumInfoScriptableObject.ExportName property setter now protected
  • Loading branch information
coryleach committed Feb 26, 2020
1 parent 7a56916 commit 110ec24
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1 align="center">Welcome to com.gameframe.infotables 👋</h1>
<p>
<img alt="Version" src="https://img.shields.io/badge/version-1.0.11-blue.svg?cacheSeconds=2592000" />
<img alt="Version" src="https://img.shields.io/badge/version-1.0.12-blue.svg?cacheSeconds=2592000" />
<a href="https://twitter.com/coryleach">
<img alt="Twitter: coryleach" src="https://img.shields.io/twitter/follow/coryleach.svg?style=social" target="_blank" />
</a>
Expand All @@ -22,7 +22,7 @@ Find the manifest.json file in the Packages folder of your project and edit it t
```js
{
"dependencies": {
"com.gameframe.infotables": "https://github.com/coryleach/UnityInfoTables.git#1.0.11",
"com.gameframe.infotables": "https://github.com/coryleach/UnityInfoTables.git#1.0.12",
...
},
}
Expand Down
6 changes: 5 additions & 1 deletion Runtime/EnumInfoScriptableObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ public class EnumInfoScriptableObject : InfoScriptableObject, IEnumExportable
/// <summary>
/// The name of this object when exported to an enum type
/// </summary>
public string ExportName => exportName;
public string ExportName
{
get => exportName;
protected set => exportName = value;
}

#region IEnumExportable
///<inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.gameframe.infotables",
"displayName": "Gameframe.InfoTables",
"version": "1.0.11",
"version": "1.0.12",
"keywords": [],
"author": {
"name": "Cory Leach",
Expand Down

0 comments on commit 110ec24

Please sign in to comment.