[Help] I want to put camera initialization in native plugin
Hello
I am pretty new to unity3d, and I have wrote a 3d scene in C++.
What I have done in C++ is :
camera initialization and updating
all the renderers updating
Now I want to migrate my C++ implementation to IOS and Android, so I want to Unity help me:
handle the app lifecycle
handle the input events
load my textures
write the same app UI for both Android and IOS
So In my case, I do not need the mainCamera in Unity Editor. My questions are:
A unity scene must have a main camera? + If I delete the main camera in hierarchy, I got the message "No Cameras Rendering " in Game Panel.
As far as I know, I can create an empty GameObject in unity editor, then I can attach my native plugin to it. Am I right to resolve my problem?
Thank you so much~~~
Your answer
![](https://koobas.hobune.stream/wayback/20220612093001im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
I can't get my camera to see my start and quit buttons 0 Answers
Adding button to native scene view controls 0 Answers
Native audio plugin xcode build problem "undefined symbols" 0 Answers
How can I use clicked position for an object and camera movement at he same time? 2 Answers
Android Plugin - .aar file missing R$raw reference 0 Answers