This repository is outdated and only exists for legacy reasons, please go to KeepCoding for the up-to-date version.
"Don't repeat yourself (DRY, or sometimes do not repeat yourself) is a principle of software development aimed at reducing repetition of software patterns, replacing it with abstractions or using data normalization to avoid redundancy." - Wikipedia
EmikBaseModules is a collection of script files meant to help speed up the process of scripting Keep Talking and Nobody Explodes modules by giving better alternatives to common commands, and automating things universal to module-creation. (such as moduleIds, or logging) Some parts of the code were influenced by this repository.
- Download and extract the full source, or clone the repository
git clone --recurse-submodules https://github.com/Emik03/EmikBaseModules
- Create a junction from your project to the source files. With windows, use command prompt
mklink /j EmikBaseModules "DIRECTORY_OF_THIS_REPOSITORY"
) - Reload Unity (tab back into the program and wait until the bottom-right spinning wheel is gone)
- Import it into your script files with
using EmikBaseModules;