当前位置:网站首页>Unity project hosting platform plasticscm (learn to use 2)
Unity project hosting platform plasticscm (learn to use 2)
2022-06-30 05:04:00 【A Niu Niu Niu Niu Niu】
Mainly understand about PlasticSCM Multi branch development during project trusteeship , Solution in case of conflict when merging to the main branch .
Initial scene 
1: Create branches from different nodes , Modify the project .
Branches created under different nodes modify the project , When merging to the main branch , There will be no conflict .
2: Create multiple branches under the same node , Modify different objects in the same scene .( Resolve conflicts automatically )
When merging the second branch , Will prompt for merge conflicts , But the changes made under the branch do not affect each other , that PlasticSCM You can help us resolve conflicts by yourself .
Click directly to resolve the conflict ,PlasticSCM Can help us resolve this conflict .
3: Create multiple branches under the same node , Modify the same object in the same scene .( Resolve conflicts manually )
Here I use code to show , It's easy to see .
Initial script :
speed The initial value of 5.5
(1) First create a branch to reduce speed Value 

At this point, the branch is under speed The value of is 4.5
(2) Create another branch under the parent node to increase speed Value 
Open the script , And we can see here speed The value of is back to 5.5, Is the parent node speed The state of
And then modify speed Value , This increase

take speed From 5.5 Add to 6.5, And upload
At this point, the status of the branch and node 
Then merge branches to the main branch , There will be conflict , We need to resolve the conflict manually 

I only keep speed=6.5f This is a case , Then exit and save 
And then you can see ,PlasticSCM The conflict is over .
go back to unity You can see in the script speed The value of is the value we reserved before .
边栏推荐
- 力扣59. 螺旋矩阵 II
- Unity automatic pathfinding
- Operation file file class method
- Sourcetree usage
- A virtual reality secret room escape adventure, let you see Technology Singapore
- pycharm 数据库工具
- Unity script life cycle and execution sequence
- Force buckle 59 Spiral matrix II
- Chapter 8 primitive processing of OpenGL super classic (version 7)
- z-index属性在什么情况下会失效?
猜你喜欢

How does unity use mapbox to implement real maps in games?

Redis cluster concept

Records of some problems encountered during unity development (continuously updated)

Unity Logitech steering wheel access

Ripple effect of mouse click (unity & shader)

Free travel recommendation in Bangkok: introduction to the Mekong River in Bangkok

Universal Studios Singapore: a good place for a one-day parent-child tour in Singapore
Sourcetree usage

On mask culling of unity

Oculus quest2 development: (I) basic environment construction and guide package
随机推荐
UnityEngine. JsonUtility. The pit of fromjason()
力扣977. 有序数组的平方
2021-03-16
C # Foundation
深度学习------不同方法实现Inception-10
Check London attractions suitable for parents and children in winter vacation
pycharm 数据库工具
Singapore must visit these scenic spots during the Spring Festival
Error about the new version of UE4: unavigationsystemv1:: simplemovetoactor has been deprecated
Moore Manor diary I: realize the reclamation, sowing, watering and harvest in Moore Manor
Unity3d realizes Google Digital Earth
产生 BUG 测试人员需要自己去分析原因吗?
【 VCS + Verdi joint simulation】 ~ Taking Counter as an Example
Generate a slice of mesh Foundation
Unrealeengine4 - about uobject's giant pit that is automatically GC garbage collected
The difference between SVG and canvas
Recommended cultural landmarks of these tourist attractions in Bangkok
A collection of errors encountered in machine learning with unity
MySQL query gadget (I) replace a property value of the object in the JSON array in the JSON format string field
Universal Studios Singapore: a good place for a one-day parent-child tour in Singapore