itsschwer / schwer-scripts

Open-source code for Unity
MIT License
1 stars 0 forks source link

schwer-scripts

Source on GitHub Donate with PayPal

Open-source code for Unity.

A demonstration of how this repository could be used, including a playable demo, is available at schwer-scripts-demo.

About

This repository contains some helpful scripts and skeleton implementations of various features. Feel free to use this as a reference or a base for your own project(s).

I'm just a hobbyist, so if you have any improvements or suggestions, let me know!

Contents

Updating

There currently isn't an automatic process to update a copy of schwer-scripts that has been imported into a Unity project, but here are the steps I've been taking to update manually:

  1. Open the project that needs an updated version of schwer-scripts in Unity.
  2. Open the Assets folder in a file explorer.
  3. Make sure Unity is not focused (but still open).
    • This gives Unity the best chance to regenerate the .meta files so that references aren't broken.
  4. Delete the schwer-scripts folder from the Assets folder (via the file explorer).
  5. Copy the new schwer-scripts folder to where the old schwer-scripts was.
  6. Refocus Unity and wait for it to finish importing.
  7. Use your version control tool to restore any modifications you might have made to schwer-scripts files.