Closed JoergPf closed 3 years ago
Hey. So this example is trying to assign a picked image to the UIGUIImage
component
https://docs.unity3d.com/2018.3/Documentation/ScriptReference/UI.Image.html
You need to declare and assign m_image
in your script.
so add
[SerializeField] Image m_image;
to your script, create an Image in a scene, put your script to any game object, drag and drop a scene image to your script.
Hope it helps!
Hi, sorry for this basic question, I just started with Unity and would like to use the iOS Camera. I successfully installed iOS-Native Pro. I have just a Button that should start the camera.
I do
But it seems I'm missing a Library: Assets/Scripts/myEng.cs(94,21): error CS0103: The name 'm_image' does not exist in the current context
Best Joerg