Version: Unity 6.2 (6000.2)
  • Supported
  • Legacy
Language : English
Smart merge
Object-oriented development

Diff tool support

You can use the Revision Control Diff/Merge setting to set an installed diff tool as the default revision tool. You can also use this setting to define a custom revision tool with specific layouts.

If you want to change the diff tool that Unity uses, open the Preferences window, and navigate to the External Tools section. Select your preferred tool from the Revision Control Diff/Merge dropdown list.

Set up a custom revision tool

To set up a custom revision tool, follow these steps:

  1. Open the Preferences window, and navigate to the External Tools section.
  2. In the Revision Control Diff/Merge dropdown list, select Custom Tool.
  3. Enter the path to the custom tool’s installation folder. On macOS, this should point to the Contents / MacOS folder in the tool’s installation folder.
  4. Enter the arguments for two-way diffs, three-way diffs, and merges.

To specify file layout in the revision tool, use these arguments:

Property Function
#LTITLE Left title
#RTITLE Right title
#ATITLE Ancestor title
#LEFT Left file
#RIGHT Right file
#ANCESTOR Ancestor file
#OUTPUT Output file
#ABSLEFT Absolute path to the left file
#ABSRIGHT Absolute path to the right file
#ABSANCESTOR Absolute path to the ancestor file
#ABSOUTPUT Absolute path to the output file

Examples:

SourceGear DiffMerge
SourceGear DiffMerge
P4Merge
P4Merge

Additional resources

Smart merge
Object-oriented development
Copyright ©2005-2025 Unity Technologies. All rights reserved. Built from 6000年2月4日f1 (ad174a85d575). Built on: 2025年09月03日.

AltStyle によって変換されたページ (->オリジナル) /