LD30 Startup scripts.

Hi all, :)

As the rules states “Base code and personal code libraries are allowed, but should be declared and shared with the community prior to beginning your entry. To do this, make a blog post.”

So I’ll share the two small scripts that I use in almost project I make in Unity.

  • AudioController.cs for playing sfx’s. I normally use this when I destroy an object that should play a death sfx. I can just play a sound an destroy the object instead of having to keep it in limbo just to play a sound.
  • CameraScript.cs for following player or any other object with damping.

Download Startup scripts

That was it.. Rules obeyed :)

Good luck all. =D

Tags: rules, Scripts