EvilMindDevs / hms-unity-plugin

The HMS Unity Plugin makes it easy to include Huawei Mobile Services into Unity-based games. Authentication, in-app purchases, push alerts, ads, and interaction with gaming services are just a few of the basic capabilities that this formidable tool makes available to your applications.
https://evilminddevs.gitbook.io/hms-unity-plugin/
305 stars 41 forks source link

3.2.5 Version on 2020 Unity version is not compling #455

Closed wththd closed 6 months ago

wththd commented 6 months ago

According to this doc versions below 2021.3 does not support C#9 features. But in class HMSKeyToolWindow there is #if UNITY_2019_3_OR_NEWER if (evt is { type: EventType.DragPerform or EventType.DragUpdated }) define, which is not compiling on 2020 version. Edit this define to #if UNITY_2021_3_OR_NEWER please

github-actions[bot] commented 6 months ago

 Thank you for reporting this issue/advice.
We will get back to you as soon as possible.
    Would you like to star our plugin
   to support us?:sparkles:

alihan98ersoy commented 6 months ago

Hi, Which unity 2020 version I will test

wththd commented 6 months ago

Hi, Which unity 2020 version I will test

2020.3.40f1 This error will appear in empty project

alihan98ersoy commented 6 months ago

Problem fixed. You can redownload the latest package. Thank you for raising this issue.

github-actions[bot] commented 6 months ago

Thank you for using our repository! We're glad we could help solve your issue. If you found our repository helpful, please consider giving us a star ⭐ on GitHub: https://github.com/EvilMindDevs/hms-unity-plugin

Your support helps us continue to improve our repository and provide valuable resources for others.