[100 Unity pit tips] | Unity calls the API to dynamically obtain Android permissions, with all Android permission forms attached
Unity Science
Old rules, let's first introduce Unity's popular science knowledge:
Unity is a real-time 3D interactive content creation and operation platform.All creators, including game development, art, architecture, automobile design and film and television, turn creativity into reality with Unity.Unity platform provides a complete set ...
Posted by suzuki on Thu, 10 Mar 2022 12:06:50 +0100
GU source code analysis 10: InputField
Source code 10: InputField
InputField is the input box that provides users with input text content. It is an important interactive means. For example, it is commonly used to enter user name, password and so on.
public class InputField
: Selectable,
IUpdateSelectedHandler,
IBeginDragHandler,
IDragHandle ...
Posted by jblallement on Wed, 09 Mar 2022 16:43:59 +0100
Unity_ Aircraft war games
preface
This article mainly records the whole process of making Star Wars games.
Sets the movement of the background
First create two board planes, and then move the stars behind them. Notes: the original planet has a border. How to make the border disappear? – set transparency: in the Matrial setting: Move the background stars: It' ...
Posted by TitanKing on Mon, 07 Mar 2022 23:54:07 +0100
UIGU source code analysis 9: DropDown
Source code 9: DropDown
Dropwon is mainly used to realize the function of drop-down selection
public class Dropdown : Selectable, IPointerClickHandler, ISubmitHandler, ICancelHandler
{
...
protected internal class DropdownItem : MonoBehaviour, IPointerEnterHandler, ICancelHandler
{
//Text displayed by Item
[SerializeFiel ...
Posted by Celadon on Mon, 07 Mar 2022 17:17:51 +0100
Unity primary tank war game implementation (Battle Tank) with engineering source code resource package
Remember to play the game for the third time after learning Unity
The last section finished the script above the enemy and players. This time, let's write the logic of the birth point and other scripts. First look at the script of the bullet. The bullet should be able to move, launch to a fixed position, and make corresponding operations when ...
Posted by gurechan on Sat, 05 Mar 2022 00:23:49 +0100
[Unity] the UI interface displays text when the mouse hovers, and font Correct usage of getcharacterinfo
For this hint function, I did all kinds of searches for a few hours. Maybe my posture is wrong. I shouldn't use Bing. I should learn from giant to use Google gayhub and so on. In order to save everyone's time, I put the key content in front. The content behind the blog is no use for personal complaints anyway. Demonstration effect:
using Unit ...
Posted by thumrith on Fri, 04 Mar 2022 23:02:28 +0100
Interaction between Unity desktop two screen programs
There are three development requirements, as follows:
The Unity desktop program is opened externally, and the program is started only onceThe evocation program can be displayed immediately without delay, and looks like an appPass parameters between two exe programsWhen exe evokes double screen
We can't rely on unity alone to realize these fun ...
Posted by thedon on Thu, 03 Mar 2022 07:13:32 +0100
Unity Quaternion commonly used API parsing and rotation interpolation animation
1, Quaternion common API s
Quaternion.FromToRotation(Vector3 fromDirection, Vector3 toDirection)
Official analysis: creates a rotation which revolutions from fromdirection to todirection Create a rotation from the form direction to the target direction Imagine a scenario like this. Let's use quaternion From torotation() API, what should I ...
Posted by jstinehelfer on Fri, 25 Feb 2022 09:42:39 +0100
Addressable: download from remote
Difference between Local and Rmote
As mentioned in the first article, click the grouping tab to see where the AB package will be hit and loaded from in the Inspector. If it is local, the packaged AB will be in the APK package, not remote. Loading remote from APK will be downloaded from the server.
Open Remote: find the Addressable Asset Set ...
Posted by alex57 on Sun, 20 Feb 2022 17:01:32 +0100
The function and usage of synergy in Unity
Coroutine can be regarded as a function whose return value is ienumeror, but it needs to be used with StartCoroutine.
A coroutine is not multithreaded. All tasks are completed on the main thread. It is an asynchronous multitask processing method.
The advantage of coroutine is that it can execute a part by frame like update in a function, or e ...
Posted by bad76 on Wed, 09 Feb 2022 14:14:49 +0100