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.
Thank you, nailed it perfectly! I'm guessing because of the word 'native' that it is the way to use arrays without GC kicking in or it will not be...
Hi, I read about NativeArray in the documentation and the manual, it is really interesting but I've some questions stuck. 1. Can I use...
I think you guys don't get my point. Your solutions are well known, but does not solve the current problem. I don't want my code to transpile to...
Hi, I'd like to discuss about the limit of the Unity API and what should be changed. Unity API Currently Currently, you have access to the Unity...
Try it your self. The OnCollisionEnter Callback will be called 4 times. One time the body is not null the other it is. EDIT: Never mind,...
Yes, and a collider, too.
Hi, I got a Nullpointer in OnCollisionEnter while colliding. Here a sample: using UnityEngine; public class Monotest : MonoBehaviour {...
I believe this will co-exist, because not everthing should be wrapped to ECS. Sometimes it is more easy to write a single script to change the...
UnityEngine.Component: "Base class for everything attached to GameObjects." The only possible way, that I can think of, is to use AddComponent to...
Hi, I tried to attach a script that derives from UnityEngine.Component to a GameObject, but it's not working. The editor says, that I can only...
I think this will help you: https://docs.unity3d.com/ScriptReference/UI.Image.html Also look up about "Radial Progress Bar" there are plenty of...
[ExecuteInEditMode] is really useful, but for gamplay code like transformation etc, it's not the right thing. Right, the new Version is out....
Yes, I know, but it will reload the assets and not only compile the one script I changed. And still, I have to wait for completion.
I want to compile at runtime. There are times I have to rewrite one line of code to test a behaviour of a function. Of couse, switching back to...
Hi, Is there a way that some c# scripts do not compile (editor not reload) after modify when I switch back to the unity editor? I tried to put...
There is nothing wrong. I think some of your configuration are not set correctly. Check if you are really using 2DCollider and 2dRigidbody....
Test it. Delegates are slower than observer. The call performance of both are pretty close but adding and removing could be an issure for...
Right it's "observer". And yes, unity it selfe is inconsistent, thats a part of the reason I'm asking. Delegate is a build-in feature and easy to...
Hi Guys, Has anyone tested the performance of calling a delegate vs an interface method aka written observer pattern in unity? I'm quite...
Hi, I'm working on a database with scriptableobjects and editorwindow. But if I click on the create button in my editorwindow I get an...