1. BitCake
  2. BitStrap
  3. BitStrap

Overview

HTTPS SSH
# BitStrap # This is BitCake's set of useful tools that will let you quickly bootstrap a new Unity 5 project. We use it in our projects and hope it will be of help for yours! :) ### What is this repository for? ### This is our humble way to give back to the game dev community. We hope this will ease other studios lives when working with Unity! You are free to use this code in whatever project you feel like to :D ### How do I get set up? ### This is the easy part! Since this is a Unity project, just download it and then continue from there. Alternatively, you can just add all these scripts to an already existing project. It is also possible to import it directly from the [AssetStore](https://www.assetstore.unity3d.com/en/#!/content/51416). ### License ### BitStrap is licensed under the MIT License. You can read more about it at [opensource.org](http://opensource.org/licenses/MIT) ### Contribution guidelines ### At the time of writing, we expect users to simply download and reuse this code. Feel free, however, to contribute to this repository by creating pull requests or just talking to us. ### Documentation ### Although all the classes are already documented, we also have a simple web page containing a feature list followed by a quick explanation of each. You can think of it as a "table of contents". [Documentation Link](https://docs.google.com/document/d/1LzsjBetzXnpR-nto8zqYLRxRvjW_DcPP_zOH-stSWVA/pub) ### Who do I talk to? ### * Jefferson Bandeira * Twitter : [@thevallcrist](https://twitter.com/thevallcrist) * Email : jefferson@bitcakestudio.com * Matheus Lessa Rodrigues * Twitter : [@matheuslrod](https://twitter.com/matheuslrod) * Email : matheus@bitcakestudio.com * Vinicius Pacha * Twitter : [@vini_pacha](https://twitter.com/vini_pacha) * Email : vini@bitcakestudio.com * Anyone from BitCake team * Twitter : [@bitcakestudio](https://twitter.com/bitcakestudio) * Email : company@bitcakestudio.com ## Contributors ## * Timothy McGill ([DragonSmack.com](http://dragonsmack.com) | dragonsmackgames@gmail.com) * Maso Inar ([bitbucket.org/masoinar](https://bitbucket.org/masoinar/)) * Johannes Deml ([johannesdeml.com](http://johannesdeml.com) | [@DemlJohannes](https://twitter.com/DemlJohannes)) # Changelog # ### 1.9.2 ### + BitStream: serialize bools, ints and floats with bit precision. Good for critical network data compressing. * Some editor scripts were outside the Editor folder causing build compilation issues. ### 1.9.1 ### + Option: option (maybe) monad that represents the possibility of no value (better than passing null around) + Sort Components: right from the component context menu, you can sort your components again! + You can now open a scriptable object inspector by double clicking it + FolderPathAttribute: easily set a folder path in a script * Fixed the script creator template error on Unity 5.6 * Some general code cleanup ### 1.9 ### + RequireInterfaceAttribute: use it on a UnityEngine.Object reference to restricting its assignment + ShowImplementedInterfacesAttribute: show in inspector all the interfaces a component implements + TweenFov: tween the field of view of Camera components + "Tween" folder and tween examples + RectExtensions.Center: given a Rect, it returns a center anchored copy with a width of "width" * TweenShader: super overhaul. Now you can even test the tween from the editor (no play required). * TweenPath: adding methods to play through the end and also backward ### 1.8 ### + HashSetExtensions: similar to DictionaryExtensions but for HashSet + TransformEditor: similar to the stock editor but with individual reset buttons next to each property + Collision/TriggerListener: enables you to control exactly what scripts receive Collision/Trigger events and from which colliders + ComponentReference: saves a reference to a component that can be easily retrieved where ComponentReference is located * Timer: now works normally even if you call "OnUpdate()" more than once on Update * AnimatorProperties: they now can be used even if there's no sibling Animator component - ParticleSystemHelper: its functionality was not compliant with Unity's new way of handling ParticleSystems - "Sort Components", "Move to Top", "Move to Bottom": this feature was a "hack". Since 5.5, it's broken because of some Unity internal refactorings. ### 1.7 ### + TweenPath: Interpolates a transform through a Bezier or linear path of control points + Fix small bug on Modifiable + Some other fixes and code improvements > Shoutout to Johannes ### 1.6 ### + Fix WebPlayer not compiling error. ### 1.5 ### + BitStrap.Examples namespace: all examples are now inside of this namespace. + CircularBuffer: An insert optimized queue. * Lots of small improvements ### 1.4 ### + PropertyDrawerHelper: Methods that help to code a PropertyDrawer editor. + ParticleSystemExtensions: Extensions to the UnityEngine.ParticleSystem class. * Timer: Added Progress property. 0.0 when the timer just started to 1.0 when the timer finished and stopped. * TimerDrawer: Enhanced the editor. * RectExtensions: Left() and Right() behaviours were swapped when "width" was negative. This is more intuitive. ### 1.3 ### + StaticReflectionHelper: Bunch of static reflection helper methods. + ScriptDefinesHelper: Helper to work with scripting define symbols. + PlayerPrefsProperties: Makes it easy to work with PlayerPrefs treating them as properties. + EditorPrefsProperties: Makes it easy to work with EditorPrefs treating them as properties. + ScriptCreator: Create C# Script and C# Editor Script through the "Assets > Create" menu. ### 1.2 ### + ScriptableObjectCreator: create ScriptableObject instances by right-clicking its scripts; + RectExtensions: helper extensions for non-layout editor codes; + ReadOnlyAttribute: put this on a field of your script. That field will appear as read only; + HelpBoxAttribute: put this on a field of your script. It will draw a EditorGUI.HelpBox above it; + ModifiableInt and ModifiableFloat: a specialized and serializable version of Modifiable<T>; + SerializedPropertyHelper: a method that returns the current property value. Used in NumberBoundsDrawer and ModifiableDrawer; + BackgroundBlurEditor: custom editor for BackgroundBlur.shader * ColorExtensions: is now ColorHelper; * ListExtensions: Added methods Count(), Any(), All() and ToStringFull(); * DictionaryExtensions: Added methods Count(), Any(), All() and ToStringFull(); * StringHelper: Get() is now Format(); * Modifiable<T>: Changed to Math folder; and created a nice Inspector editor; ### 1.1 ### First public version. You can follow this documentation link (https://docs.google.com/document/d/1LzsjBetzXnpR-nto8zqYLRxRvjW_DcPP_zOH-stSWVA/pub) for its contents.