Code Monkey home page Code Monkey logo

Comments (5)

prime31 avatar prime31 commented on July 21, 2024

I personally like the idea but to be completely honest most Unity users can't manage a Git submodule if their life depended on it. What I usually do is just pull the repo in a separate folder and then symlink the GoKit folder. It's not perfect since you have to set it up on each computer to be in the same location but it does work now that Unity fixed the symlink issue.

Mike

On Mar 20, 2015, at 6:49 PM, Ryan Goodrich [email protected] wrote:

I have my projects set up where I clone different repos, with different components or functionality, into via git submodule functionality. This repo, being an entire Unity project, is not suited to doing that. Sparse-Checkout also results in a rather messy directory structure because it must create all directories from root. What do you think of the idea of making this repo, and potentially others, organized into a structure that allows someone to git submodule add, or git subtree add them into their project directly?


Reply to this email directly or view it on GitHub.

from gokit.

rhys-vdw avatar rhys-vdw commented on July 21, 2024

+1

I've always been confused by this project's layout. The problem with putting the project in a different folder and symlinking is that the repo root is usually the Unity project folder, so that would duplicate everything. Placing it outside of the repo obviously fails because it is not under version control. Also I don't think Windows supports symlinking, so it's not a complete solution for Unity.

from gokit.

rhys-vdw avatar rhys-vdw commented on July 21, 2024

Also adding *.meta to .gitignore would be appropriate, since Unity generates those for you.

from gokit.

andybak avatar andybak commented on July 21, 2024

Also adding *.meta to .gitignore would be appropriate, since Unity generates those for you.

Nooooo! Meta files definitely need to be committed. Allowing Unity to regenerate them can end up with new GUIDs and all kinds of craziness.

The Unity package manager is becoming to defacto way to handle adding 3rd party code to projects. Adding UPM support is fairly easy and I'm happy to show you how I've done it for my project: https://github.com/IxxyXR/Polyhydra-upm

from gokit.

rhys-vdw avatar rhys-vdw commented on July 21, 2024

@andybak bwahahah. Yes, I can't even remember being under the misconception now. I've made a couple of upm packages too coincidentally, definitely the move for any open source Unity package.

from gokit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.