Download presentation
Presentation is loading. Please wait.
Published byAdam Park Modified over 8 years ago
1
Unity & Perforce Prerequisite Knowledge: - Perforce log in/Creating a workspace - Creating a Unity project Topics Covered: - Project Set Up - First Commit - Checking In/Out
2
Project Setup You need to enable Meta Files in Unity so Perforce can track the relationship between your GameObjects and Assets: 1) Open the Editor Settings in the Inspector: - Edit > Project Settings > Editor 2) In the Inspector: - Change the Mode tab under Version Control to Meta Files
3
First Commit First up, let's refresh on Perforce stuff: - Depot: The repository online where saved files are stored - Workspace: The place on your computer where your files are stored - Pending: A list of all your pending changes; you should revert/submit here - History: A list of changes made to selected files - Log: A text version of everything perforce is doing behind the scenes
4
First Commit 1) Put your Unity project into the folders your workspace looks at: - Right Click the top folder in your workspace > Show In > Show In Explorer - Copy/Paste Project - Right Click the top folder in your workspace > Refresh 2) Mark for Add ONLY the Assets and Project Settings folders of your project (this prepares them for submission to the Depot): - Right Click the Assets folder > Mark for Add - Right Click the Project Settings folder > Mark for Add 3) Submit your Project: - In the Pending tab: Right Click the red triangle (changelist) > Submit
5
Check In/Out 1) Check whichever files you'll be changing (It's best practice to check the files out before you edit them, but it's not required). - Right Click folders/files > Check Out 2) When ready to commit your changes, be sure to Mark for Add any assets you've added to the project (I usually Mark for Add the whole Assets and Project Settings folders): - Right Click folders/files > Mark for Add 3) When you're ready to submit, make sure you Revert Unchanged files before doing so (this keeps Perforce from uploading data that's already in the Depot): - Right Click your changelist in the pending tab > Revert Unchanged Files - Right Click your changelist > Submit
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.