Reference site and help for programmers in Unity3D and C Sharp
Tuto
Details
-Ray Wenderlich Unity Tutorials (ENG)-
https://www.raywenderlich.com/unity
-Tutorial en español (ES)-
https://www.arquiparados.com/t868-curso-tutorial-de-unity-en-espanol-desde-cero
Access GameObject "Text" through source code
Details
Today we will see how to access / edit the "Text" of a GameObject, using only C #, without using the Inspector.
EXAMPLE:
Name of the GameObject: title_one
Goal: modify the text.
1 - Very simple, we declare the variable at the beginning (text1)
2 - Now we will use the second line to search, through its name, the Gameobject.
And we assign "Text" property to our "text1" variable (we can use any other that it has).
3 - In the third line, we modify the value and it will be automatically reflected in our program.
CODE:
public Text text1; // 1
...
text1 = GameObject.Find("title_one").GetComponent<Text>(); // 2
texto.text = "Opciones"; // 3
Fixing "Build Failure:Unable to retrieve device properties" error (Unity)
Details
We are looking today to a disappointing Unity error, that shows sometimes when developing for Android devices.
When you try "Build and Run", sometimes you can get the following error: "Build Failure:Unable to retrieve device properties"
So, here´s the solution:
1- Kill adb.exe process (ctrl+a+t+supr to open task manager, and "end task" "adb.exe")
2- Restart your android device.
Thats all, your Build and run should be running fine again.
Moving Projects from one PC to other
Details
To move a project between Computers in Unity (i.e. Computer to laptop, etc) you can do it safely as is:
To copy / move a Unity project:
Enable Version Control Meta Files in Editor Settings
(This will add a .meta file for each file and folder in your project)When copying, do not copy the Library folder or the Temp folder (if at all exists).
In most normal circumstances, you only need to copy the Assets and ProjectSettings folders.
*After copying and opening in Unity, it will automatically generate the Library folder based on your meta files.
*Source: https://answers.unity.com/questions/273912/moving-the-project.html by DannyB
Unity Remote Working (Android)
Details
Simple solution to "not working Unity Remote on your tablet/phone", its easy:
ON YOUR DEVICE (tablet , phone):
1) Enable "Developer Options" (Settings-Build Number click there 7 times)
2) Enter on new created "Developer Options" and enable USB DEBUGGING, STAY AWAKE and ALLOW MOCK LOCATIONS
thats it, it should be working now, connect device to usb and run unity.
Adding new app
Details
Great tutorial at
https://www.raywenderlich.com/120-how-to-submit-an-app-to-apple-from-no-account-to-app-store-part-1
in spanish:
https://blog.ng-classroom.com/blog/tips/enviando-al-appstore-ios/
How to get started with Unity3D - For Beginners
https://youtu.be/XDAYS-qYe6Y
Good Beginners Unity Video, by Unity College
New to Unity? Considering game development? Learn how to build your first game in just a few minutes. I'll go over all the basic features of the editor, show you what the scene view, hierarchy, inspector, and game view are... then we'll dive into some basic c# and monobehaviour coding. In 30 minutes, you'll have your first working game!
Unity3d iOS Build and Publish to the App Store
https://youtu.be/kI-kGTZLEmc
Great video from Dilmer Vallecillos.
Unity3d iOS Build and Publishing process is explained in this video step by step.
https://youtu.be/XDAYS-qYe6Y
Good Beginners Unity Video, by Unity College
New to Unity? Considering game development? Learn how to build your first game in just a few minutes. I'll go over all the basic features of the editor, show you what the scene view, hierarchy, inspector, and game view are... then we'll dive into some basic c# and monobehaviour coding. In 30 minutes, you'll have your first working game!