A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
DI frameworks aren't problems here, they can be pretty simple behaving as a better replacement for ServiceLocator, can be an over-abstracted pile...
You can use something like this https://github.com/srcnalt/OpenAI-Unity/tree/master, or any other C# GPT wrapper I guess. There's also paid 'AI...
I'm not sure about SceneParenting and SceneDecorator, because never really used them, but I would advice OP not using [InjectOptional], different...
Thanks for sharing more context. In that case I have different ideas and solutions: 1. I see you want to make your SceneService "smart" and add...
Even though I'm experienced with Zenject I find it hard to give you the solution considering your strict rules, apart from some ideas you already...
Well, it doesn't look that hideous to me, but I've seen really hideous stuff. 50 and 120 lines of code isn't a lot, it's not bloated, looks very...
You attached the duplicate of GameManager in "LevelComplete Code". Editing and showing the correct code would give a bigger picture on a problem....
I would make custom attribute like [DebugStatic] for fields or whole class. Using AppDomain or Assembly classes you can get all or current...
No, I mean adding component through code during runtime.
If it works and performs well (scene isn't loading too long for example) then I would go with dynamic component attachment. It's the quickest...
Well, depending on how often you will do that, you can actually use findObjectsOfType, or it may be faster to get specific scene, get root...
You should place return after each await, in that case in the end. Because let's say you want to stop task when your object is disabled or...
Yep, pretty much. In provided code that wouldn't matter, but you need to place version check after await, not before, in case there are many...
The good practice is to use CancellationTokenSource. If you are working with web requests and other operations where GC or speed might not matter...
2022.4.f1 In my case coroutines start and tick was also faster in editor, GC was almost the same on startup. So I made development build with all...
This can be done in different ways from math perspective, but I would do something like that: int projectileCount = 10; float arcAngle = 90;...
As you said these classes aren't related to same base type, so I highly recommend you to stick with composition. Using inheritance only for...
Make unity component ("MonoMazeGenerator.cs" or something) and put code from Main() to Start() and attach your script to something. No rewrite...
Are you trying to play it in a loop? If so I doubt PlayOneShot can do that. PlayOneShot is intended to play small limited audio clips, otherwise...
I remember there was a way to trigger some key manually from code, but I wouldn't do that, because input is input and should be triggered by your...