Skip to content

Commit

Permalink
FIX: LitMotion.Extensions.asmdef versionDefines
Browse files Browse the repository at this point in the history
- LitMotionUIToolkitExtensions.cs
- LitMotionUGUIExtensions.cs
- LitMotionAudioExtensions.cs
  • Loading branch information
c3-hoge-fuga-piyo committed Jan 15, 2024
1 parent 0b5da20 commit 4e8bb18
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if LITMOTION_SUPPORT_UNITY_AUDIO
using UnityEngine;
using UnityEngine.Audio;

Expand Down Expand Up @@ -68,4 +69,5 @@ public static MotionHandle BindToAudioMixerFloat<TOptions, TAdapter>(this Motion
});
}
}
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,22 @@
"name": "com.cysharp.zstring",
"expression": "",
"define": "LITMOTION_SUPPORT_ZSTRING"
},
{
"name": "com.unity.modules.uielements",
"expression": "",
"define": "LITMOTION_SUPPORT_UIELEMENTS"
},
{
"name": "com.unity.ugui",
"expression": "",
"define": "LITMOTION_SUPPORT_UGUI"
},
{
"name": "com.unity.modules.audio",
"expression": "",
"define": "LITMOTION_SUPPORT_UNITY_AUDIO"
}
],
"noEngineReferences": false
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if LITMOTION_SUPPORT_UIELEMENTS
using Unity.Collections;
using UnityEngine;
using UnityEngine.UIElements;
Expand Down Expand Up @@ -794,4 +795,5 @@ public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<flo
}
#endregion
}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if LITMOTION_SUPPORT_UGUI
using UnityEngine;
using UnityEngine.UI;
using Unity.Collections;
Expand Down Expand Up @@ -395,4 +396,5 @@ public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<flo
});
}
}
}
}
#endif

0 comments on commit 4e8bb18

Please sign in to comment.