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.
And can we pass the initialization parameters of the constructor of a certain class by making an addcomponent?
I'm sorry if I express myself badly sometimes I have no experience with unity lol. In my case I need to create a camera that I name in my RGBD...
From what I understand is that there is a dilemma. You cannot instantiate an object of a class inheriting from a monobehaviour by doing a new. and...
By doing this, i obtain :
Thank u, i see the problem. and one last thing, if i want to attach a camera to an object with an AddComponent, what would be the correct syntax?...
the reason why I want to use classes and not functions is that afterwards I intend to add functions according to each type of camera (rgb or...
I am desperately coming back to you because I still cannot solve my problem. I always try to create a class like this; using System.Collections;...
and my second question would also be: in c #, how can we call a class defined in a script from another class?
In my case, I currently have a main code where I instantiate several cameras, and where I specify the camera parameters each time. However, I find...
From what I understand is that the camRGBD object does not reference anything. So it returns a null object, which makes sense I understand. But...
Good morning all, I am creating multiple cameras, with positions and rotations as follows: foreach (CameraParam cam in camerasInJson.cameras)...
Is it also normal that I get this, instead of an output depth map. [IMG] Knowing that even if I delete the line: cam.depthTextureMode =...
the problem was indeed there. Thank you.
Yes, my path is exacly "Assets/Ressources/Material/Material_017_DepthPostprocessing.mat" .
Save Draft even trying to do this the asset does not load. [IMG] And i have this error :
I allow myself to open yet another topic here because I didn't know where to post yet. I'm trying to attach a script that allows me to have depth...
I understand better, thank you for your precious explanations. I just tested too, it works.
I did not have the correct syntax, thank you. However, I would like to know, it is possible that if it is a GameObject type, is it possible to do...
Hi, I try to add a script to a gameObject with a script, i used the method "AddComponent" but but apparently it has become obsolete. What...
Hello, I've been trying to save the list of recorders under recorder unity as an asset by a script for a while to be able to retrieve it...