When you are ready to commit your changes to the depot, you can use the Pending Changes Window to do just that. Similarly, when you edit an asset, delete or move it, P4Connect will mirror those changes to the Perforce depot. Will notice that P4Connect marked the folder for Add in Perforce Most of the time though P4Connect will perform Version Control View, should update to reflect the pending addition. P4Connect will print a message to the console indicating that it hasĪdded the file, and the Pending Changes Window, as well as the Project To add an existing file to the depot, simply right click on it and go to Perforce->Add to Depot If you started a new project, it is most likely going to be Open the Pending Changes Window from Window->Perforce PendingĬhanges. Let’s see if you can add files to the Depot. Config Asset - This saves your settings in an asset stored in "Assets/P4Connect/Editor/Config.asset".Editor Preferences - This saves your settings in the Registry using Unity Editor Preferences. There are two options for saving your settings: Saving Settings If this is the first time you connected to a server, or if you changed some important settings, you may wish to save your settings using the "Save Settings" button on the bottom right of the status pane.The default is to save your settings as Editor Preferences, but this can be changed with a option on the options page. Once all settings have been entered in the 'Connection' panel, just hit the "connect" button and P4Connect should test the settings and report that the Perforce Integration is ACTIVE.Īt this point, you are ready to go roll! We’ll look at the rest of the settings later. The P4CHARSET field is normally left empty unless you are using a perforce server configured to use Unicode, in which case this character set will be used as your default.The P4HOST field is normally left empty unless you are connecting to an Assembla depot, where a specific HOST value is required.There are a couple of additional connection settings available for customization: Using P4V to Test Settings Since workspace names are often cryptic, I find the best way to set up a new configuration is to first connect using P4V, and then copy the Workspace name and other settings from the P4V Open Connection Dialog: Load Config Asset - Look for a Configuration Asset, and if it exists, use it to fill out all settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |