Comments (7)
Possibly you could use 2 repos - the "RTSCameraCobtrollerDemo" repo would reference the package repo in its manifest. The user would only need to download that one Demo repo, and Unity would download the other automatically. Other users could just reference the package repo directly. The Samples would be duplicated though.
But it seems unnecessarily complicated compared to just giving installation instructions - I think anyone who's keen to write an RTS is capable of using the package manager and installing the Samples. I think it's better to help users to learn the "new way", which is packages.
from rtscameracontroller-cinemachine.
Yeah, makes sense, i'll look into that.
from rtscameracontroller-cinemachine.
Send me a Pull Request 👍
from rtscameracontroller-cinemachine.
Ouch, adding all the Asset and Library etc. directories made this much more difficult to do.
Ideally, you'd have a test project that you use this is, via the UPM. That project could have all the Library etc, but the package for this would be as before (or rather, as before, but the code under a "Runtime" directory).
from rtscameracontroller-cinemachine.
Yeah, one way is just to download the .unityassets file and import them manually which works just fine. But, of course it would be great to add the project to the Package Manager. I'll read about it on the internet to find a solution, maybe you could organize the files to somehow make the Package Manager understand which directories are the files or something, after that make a Pull request, but it also needs to work when cloning the whole repo to be able to open it in Unity.
from rtscameracontroller-cinemachine.
It generally works the other way around with packages: people would install the RTSCameraController package (in an empty or existing project), which gives them the controller and probably the prefab, then optionally install "Samples" that are the examples you currently ship.
Using packages has a lot of advantages for developers using it - they don't need to check it into their project repository and can leave it as a reference, easily updating if it changes.
from rtscameracontroller-cinemachine.
Yeah i see the advantages, but is there a way to make it work with one repo? I mean, i want the user to be able to download the source project and be able to add the project as a package to the package manager with the same repository. I know i need to make some Runtime directory and a manifest.json file and so on, but i would need to somehow combine/link the Asset directory to the Runtime directory or something like that. I have never done this before, is there a simple way to do this?
from rtscameracontroller-cinemachine.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtscameracontroller-cinemachine.