Skip to content

Commit 2879f43

Browse files
authored
Merge pull request #34 from ExtendRealityLtd/feat/remove-malimbe
feat(Malimbe): remove malimbe dependency
2 parents 5694bf1 + eab284d commit 2879f43

5 files changed

Lines changed: 17 additions & 25 deletions

File tree

Runtime/FodyWeavers.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

Runtime/FodyWeavers.xml.meta

Lines changed: 0 additions & 7 deletions
This file was deleted.

Runtime/SharedResources/Scripts/Transformation/Conversion/CallbackContextToFloat.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
namespace Tilia.Input.UnityInputSystem.Transformation.Conversion
22
{
3-
using Malimbe.PropertySerializationAttribute;
4-
using Malimbe.XmlDocumentationAttribute;
53
using System;
64
using UnityEngine.Events;
75
using UnityEngine.InputSystem;

Runtime/SharedResources/Scripts/Transformation/Conversion/CallbackContextTransformer.cs

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
namespace Tilia.Input.UnityInputSystem.Transformation.Conversion
22
{
3-
using Malimbe.PropertySerializationAttribute;
4-
using Malimbe.XmlDocumentationAttribute;
53
using System;
4+
using UnityEngine;
65
using UnityEngine.Events;
76
using UnityEngine.InputSystem;
87
using Zinnia.Data.Attribute;
@@ -35,12 +34,24 @@ public enum ContextType
3534
Canceled = 1 << 2
3635
}
3736

37+
[Tooltip("The ContextType event to process the transformation for.")]
38+
[SerializeField]
39+
[UnityFlags]
40+
private ContextType contextToProcess = ContextType.Performed;
3841
/// <summary>
3942
/// The <see cref="ContextType"/> event to process the transformation for.
4043
/// </summary>
41-
[Serialized]
42-
[field: DocumentedByXml, UnityFlags]
43-
public ContextType ContextToProcess { get; set; } = ContextType.Performed;
44+
public ContextType ContextToProcess
45+
{
46+
get
47+
{
48+
return contextToProcess;
49+
}
50+
set
51+
{
52+
contextToProcess = value;
53+
}
54+
}
4455

4556
/// <summary>
4657
/// Processes the given input into the output result as long as the context event is allowed to be processed based on the <see cref="ContextToProcess"/> value.

Runtime/Tilia.Input.UnityInputSystem.Runtime.asmdef

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99
"excludePlatforms": [],
1010
"allowUnsafeCode": false,
1111
"overrideReferences": true,
12-
"precompiledReferences": [
13-
"Malimbe.PropertySerializationAttribute.dll",
14-
"Malimbe.XmlDocumentationAttribute.dll"
15-
],
12+
"precompiledReferences": [],
1613
"autoReferenced": true,
1714
"defineConstraints": [],
1815
"versionDefines": [],

0 commit comments

Comments
 (0)