[ShareSDK] Sina Weibo login

Preparation Previous words: ShareSDK get,Sina Weibo login settings New Unity project Import the ShareSDK plug-in First, set the company name and project name Setting package name Keep consistent with the package name of the app added by Sina Weibo   Set up Keystore Set Keystore in Player Settings--Publishing S ...

Posted on Sun, 17 Nov 2019 12:00:09 -0500 by Theramore

Display the current process memory usage value in Unity3D by calling CPP DLL under PC

After parsing MIDI, CSharp wants to write a memory occupation display. Generally, when writing CPP programs, it likes to check the memory and prevent sand carving operations such as memory explosion. After searching, the general way of writing CSharp is Process CurrentProcess = Process.GetCurrentProcess(); CurrentProcess.WorkingSet64 ...

Posted on Mon, 04 Nov 2019 11:11:39 -0500 by etully

Unity A * pathfinding mesh editing tool (edit in Scene view)

In the process of game development, A * algorithm is often used. After the scene is created, the walking area and non walking area need to be edited. It will be convenient to edit directly in the Unity Scene and export data files. 1 data class First, define a grid data type, define the length and width of the grid, and implement serialization ...

Posted on Mon, 04 Nov 2019 09:51:02 -0500 by madrazel

The strategic mode of C ා design mode

  Background: In our actual project development, we use a more common design pattern, and directly paste a demo for your reference. If there is something wrong, please give more tips and exchangeDefinition: The policy pattern encapsulates each algorithm into a separate class with a common interface for a group of algorithms,So that they ...

Posted on Sun, 03 Nov 2019 09:10:39 -0500 by iii

Export unity3d to Excel

Original link: http://www.cnblogs.com/james1207/p/3283426.html I need to export it to Excel format in unity and try some methods. I don't know how to call it in unity with the com component of c (if any big brother succeeds in unity with other methods, you ...

Posted on Fri, 01 Nov 2019 15:28:53 -0400 by Malcina

Knowledge base preparation

Exporting to Unity Packgae is basically divided into the following steps: 1. Click on the menu bar and output the file. 2. The name of the replication console 3. Right-click the "QFramework" folder 4. Cancel the "include" option 5. Paste the name of the copy and export it.   (1) Export Unitypackage The export library ...

Posted on Sat, 12 Oct 2019 12:29:11 -0400 by mapostel

Layabox world coordinate and screen coordinate rotation

Recently, in Layabox, I spent several days doing the rotation of world coordinates and screen coordinates. Because Layabox has no ready-made code, I can only write it by hand, which is probably to imitate ScreenToWorldPoint and WorldToScreenPoint functions in unity. The general idea is that the z axis of screen coordinates is the distance from ...

Posted on Fri, 11 Oct 2019 15:35:44 -0400 by joshuamd3

ECS Framework Document Translation 16 Manual iteration

The following documents are from the ECS website: https://docs.unity3d.com/Packages/com.unity.entities@0.0/manual/ecs_entities.html Manual traversal You can also request all blocks directly in a Native Array and process them using Jobs such as IJob Parallel For. If you need to manage blocks in som ...

Posted on Thu, 10 Oct 2019 12:41:08 -0400 by definewebsites

Binary Tree Traversal C#

1. In computer science, a binary tree is a tree structure with at most two subtrees per node. Usually, subtrees are called "left subtree" and "right subtree". (Baidu Encyclopedia) Breadth First Search, also known as breadth first search or horizontal first search, starts from the root node and traverses along the width of ...

Posted on Mon, 07 Oct 2019 23:12:10 -0400 by zunebuggy

Unity3D Local Data Persistence Record Storage

Following are several implementations of Unity local record storage. The first Unity itself provides PlayerPrefs // Save data PlayerPrefs.SetString("Name",mName); PlayerPrefs.SetInt("Age",mAge); PlayerPrefs.SetFloat("Grade",mGrade) // Read data mName=PlayerPrefs.GetString("Name","DefaultValue"); mA ...

Posted on Sun, 06 Oct 2019 22:24:12 -0400 by hbsnam