Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
2022.3.55f1 | Not compatible | Compatible | Compatible |
DOCUMENTATION: https://stefanwyszynski.github.io/CoDriven-Advanced-UI/#/
DISCORD: Join discord here https://discord.gg/XnjTwJBjqY
UNITY FORUM: https://discussions.unity.com/t/released-codriven-advanced-ui-multiplayer-game/1610819
IMPORTANT: Mirror asset is only used for an example multiplayer game. You can remove the multiplayer game example, and then you won't need the Mirror package.
⭐ CoDriven Advanced UI is an extension of the UI Toolkit that will allow you to create a complete UI, style it without USS code (using style builder in code), handle events simply, change language, and create translations for your game texts, and manage changing screens.
No Uss is required to style controls, but you still can use it. No UI Toolkit is required to create your views because it will be generated automatically from your code, but you can still use the UI Toolkit.
I am a professional Android developer with many years of experience, but I love creating games. During my game development journey, I came across a problem related to UI and decided to fix it by creating CoDriven Advanced UI. In the Android environment, I could conveniently create UI for apps and games using code. I decided to add this capability to this tool, thanks to this, you will be able to create UI by simply using code, which is generally easier than any existing solutions. Maybe just for me, but try it and you will know what I mean.
⭐CoDriven Advanced UI will resolve problems like how to:
- easy style your controls with multiple themes support, changed runtime
- animate your GUI with automatically generated USS for your code, so for example, you will be able to animate and change style over time when the mouse is hovering over your control,
- handle input events for the whole game menu,
- bind sound to events,
- create multiple screens and move between them easily,
- pass events to UI globally
- make readable/reusable/separated code with menus,
- multiple examples with a fully working multiplayer game and menu
⭐Full list of features
- full source code included
- easy and powerful styling in the c# code using probably all modifiers available in USS - no more raw CSS/USS pseudocode (it will be generated automatically based on your styles),
- built-in nodes editor with screen preview.
- language change for your UI and Translation Editor (built-in using CoDriven Advanced UI itself :))
- theming and changing of the current theme runtime (just call a simple function)
- add your custom Editors in Unity using CoDriven Advanced UI. You can check how (built-in) Translation Editor was made - because it was made using it.
- easy event handling! (you can handle events on part of your screen, screen as a whole, globally, or even in many places at the same time)
- CoDriven Advanced UI contains most of the UI Toolkit controls and a few more, like a floating window, and a draggable panel. This will likely be improved in the future because it's still under development
- implemented with an observer pattern in mind to observe changes in UI or trigger UI changes from external events - all by observable fields, but by default, it doesn't require that
- multiple scenes with examples like a fully working multiplayer game, or a simple one theme, simple two themes, a scene with screen part,
- Included: FULLY working 3D multiplayer FPS (mirror/LAN) with: main menu and in-game menu 5 game scenes with maps and main/in-game menu
- passing player data to UI by event callback
- screen changing by the separations of logic. All game screens will be handled by the screen manager, which will contain your screen classes. Screens will contain sections ("ScreenPart") that can be reused anywhere in the game.
- So for example: the settings menu could be added to the in-game menu by just one single line of code.
- built-in helper functions for your game, and tools for multiplayer with a mirror
- persistent and also observable fields for settings for your options. Assign data to the field and forget about it - it will be saved. Add your savable settings.
- Behavior classes allow you to assign specific behaviors to your controls. Currently, there is one behavior - floating window behavior that will make the control movable/draggable by mouse, like windows in the operating system.
⭐ Features of 3D multiplayer FPS (mirror/LAN):
- play with your friend,
- fully working menu with settings changes like resolution, fullscreen/windowed, refresh rate, render scale, vsync, FOV, sound, music, mouse sensitivity, and more. Settings are saved automatically. You can add your settings.
- grappling hook weapon created from scratch using math in code for springs (without using the built-in spring classes), so you can do more,
- multiple sounds and ambient music for maps,
- car driving logic: spring camera attached to the seat and shooting while driving + free camera rotation + FPP/TPP camera during driving 😄,
- 2 drivable car models included,
- rigged and animated player character,
- weapon recoil using spring,
- weapon attached to the hand,
- the sound of the engine associated with the car's speed,
- jumping logic,
- sounds for actions,
- health status,
- multiple weapons like pistol, machine gun, grenade launcher, sniper with simple zooming, rocket launcher (all model included),
- weapon recoil and muzzle flashes,
- player footsteps manager,
- turn player flashlight on/off,
- 5 different maps,
- models like trees, houses, grass, etc.
- 2 enemies following the player and shooting,
- enemies manager that will allow you to add more enemies and spawn them randomly,
- network helper: lan server discovery code, join, host game, start server,
- easy to understand and separated logic in multiplayer,
- observable PlayerPrefs preferences of types like Bool, Int, String, and Float that are saved automatically
- and more :D
Just try it!
CoDriven Advanced UI & Multiplayer Game
