Skip to content

Commit

Permalink
5.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Nebby1999 committed Sep 6, 2024
1 parent 28f71df commit 779d83e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### '5.0.2'

* RoR2EditorScripts Changes:
* Fixed the assembly not referencing the DLL version of HLAPI alongside the AsmDef version of HLAPI

* R2APIEditorScripts Changes:
* Fixed the AddressReferencedAsset drawer not being updated to use the new R2EKConstants class

### '5.0.1'

* Core Changes:
Expand Down
2 changes: 1 addition & 1 deletion Editor/R2APISupport/AddressReferencedAssetDrawer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten
EditorGUI.PropertyField(fieldRect, usingDirectReference ? property.FindPropertyRelative("_asset") : property.FindPropertyRelative("_address"), new GUIContent(property.displayName, usingDirectReference ? string.Empty : AddressTooltip));

var contextRect = new Rect(fieldRect.xMax, position.y, 16, position.height);
EditorGUI.DrawTextureTransparent(contextRect, Constants.AssetGUIDS.QuickLoad<Texture2D>(Constants.AssetGUIDS.iconGUID), ScaleMode.ScaleToFit);
EditorGUI.DrawTextureTransparent(contextRect, R2EKConstants.AssetGUIDs.r2ekIcon, ScaleMode.ScaleToFit);
if(Event.current.type == EventType.ContextClick)
{
Vector2 mousePos = Event.current.mousePosition;
Expand Down
3 changes: 2 additions & 1 deletion Editor/RoR2/RoR2.Editor.Scripts.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"Assembly-CSharp.dll",
"Decalicious.dll",
"KinematicCharacterController.dll",
"LegacyResourcesAPI.dll"
"LegacyResourcesAPI.dll",
"com.unity.multiplayer-hlapi.Runtime.dll"
],
"autoReferenced": true,
"defineConstraints": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": ""
},
"displayName": "RoR2EditorKit",
"version": "5.0.1",
"version": "5.0.2",
"unity": "2021.3",
"description": "The Risk of Rain 2 Editor Kit (Abreviated as ROR2EK) is a Thunderkit Extension designed specifically for helping mod creators create content for Risk of Rain 2.",
"dependencies": {
Expand Down

0 comments on commit 779d83e

Please sign in to comment.