PD
Program Dreamโ€ข7mo ago
Luzifix

๐ŸชŸ API for Windows

"API for Windows" simplifies the utilization of native features, including window management, clipboard operations, Message Boxes, taskbar interaction, and more. ๐Ÿ How can this asset help me?
API for Windows simplifies the utilization of native features, including window management, clipboard operations, Message Boxes, taskbar interaction, and more. Create borderless windows, prompt users with Message Boxes, copy textures or text into the clipboard, and show loading progress in the taskbar โ€“ all this and more is effortlessly achievable with API for Windows.
๐Ÿ›’ Get from Unity Asset Store
API for Windows | Utilities Tools | Unity Asset Store
Use the API for Windows from Shadow Grove Games on your next project. Find this utility tool & more on the Unity Asset Store.
10 Replies
not rob
not robโ€ข7mo ago
As someone that has not used Unity: What's the point of using this when the Windows API exists and this library doesn't have abstractions for other OS?
Luzifix
LuzifixOPโ€ข7mo ago
Unity does not currently provide access to many features of the Windows API, and if you want to create Unity applications that support drag and drop, for example, you have to do a lot of fiddling. I need this functionality for a project that only targets Windows builds. Once implemented, I had the idea for this asset ๐Ÿ˜… Also, a lot of people make Windows-only apps/games, so the target audience is there
not rob
not robโ€ข7mo ago
Ah, I guess Unity restricts C# in some way. Cool project!
Luzifix
LuzifixOPโ€ข7mo ago
Yes in the unity c# implementation you don't have access to any platform specific api
Dumb Bird
Dumb Birdโ€ข7mo ago
I agree here, having the Windows API done like this is a big plus for developers who need it. Especially the clipboard which I didn't know wasn't possible without fiddling. I would love to see an asset for Mac or Linux in the future. Although those may be a bit more complex
Luzifix
LuzifixOPโ€ข7mo ago
If this asset get well I plan to do a similar one for webgl and implement more Browser functionality like local storage and more js functionality
not rob
not robโ€ข7mo ago
Cross-platform stuff is almost impossible to get right, this one looks like a wrapper for the Windows APIs
Luzifix
LuzifixOPโ€ข2mo ago
Version 1.1 Changelog
- Fixed a bug that resulted in a blurred UI after calling the fullscreen or maximize window api. - Fixed a bug causing UI to offest when enable/disable window border. - Fix Window.IsStyleFramedWithoutTitleBar api. - Fix example for "Framed without buttons" window.
https://assetstore.unity.com/packages/tools/utilities/api-for-windows-260597?utm_source=discord ๐ŸชŸ API for Windows [10% OFF] I am very happy that the Unity YouTuber CodeMonkey has featured the API for Windows Asset in his new video. With the code CODEMONKEY10 you can get a 10% discount on API for Windows. :yt: CodeMonkey Video ๐ŸชŸ API for Windows Version 1.2 Changelog
- Add new clipboard APIs Clipboard.HasText() Clipboard.HasImage() Clipboard.IsClipboardFormatAvailable(uint format) - Extending the Clipboard APIs with the emptyClipboardBeforeSet parameter Clipboard.SetText(string text, bool emptyClipbordBeforeSet) Clipboard.SetImage(Sprite sprite, bool emptyClipbordBeforeSet) Clipboard.SetImage(Texture texture, bool emptyClipbordBeforeSet) Clipboard.SetImage(Texture2D texture2D, bool emptyClipbordBeforeSet)
https://assetstore.unity.com/packages/tools/utilities/api-for-windows-260597?utm_source=discord Version 1.3 Changelog
- Add clipboard image support for bitmap (works with .NET Framework API only)
https://assetstore.unity.com/packages/tools/utilities/api-for-windows-260597?utm_source=discord Version 1.4 Changelog
- Add new cursor APIs Cursor.GetCursorPos(); Cursor.GetPhysicalCursorPos(); Cursor.SetCursorPos(); Cursor.SetPhysicalCursorPos(); - Fix small typo in Clipboard example - Fix Clipboard in .NET Framework mode - Cleanup namespaces example
https://assetstore.unity.com/packages/tools/utilities/api-for-windows-260597?utm_source=discord
L4z4r
L4z4rโ€ข5w ago
idk wtf an api is but ๐Ÿ”ฅ
<Tim>
<Tim>โ€ข5w ago
API = Application Programming Interface https://en.wikipedia.org/wiki/API
API
An application programming interface (API) is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build such a connection or interface is called an API specification. A computer system that meets this standard...
Want results from more Discord servers?
Add your server