Skip to content

pixelfoot/unity-awesomeness

Repository files navigation

Unity Awesomeness

A collection of utility scripts for Unity 5.

Unity is a flexible and powerful development platform for creating multi-platform 3D and 2D games and interactive experiences.

Table of contents

Artificial Intelligence 

Name Description 2D 3D
simplefollow.js A very simple, flawed “follow the player’s transform” AI script. Because this uses Transform.Position, the object will simply pass through obstacles. Use script below for better results.
simplechase.js A simple “follow the target” AI script using a Character Controller and applied forces. Collides with obstacles, but no logic for pathfinding yet.

Animation 

Camera

Name Description 2D 3D
smoothfollow2d.js A two-axis smooth follow camera script, can be used for (X,Z) or (X,Y) movement.
FreeFlightCamera.js Fly through the scene using WSAD (or arrows) and mouse.

Character Control

Name Description 2D 3D
[topdowncontrols.js](Character Control/topdowncontrols.js) A script used to control the 3D Character Controller script, configured for use in top-down gameplay.
[sidescrollcontrols.js](Character Control/sidescrollcontrols.js) A script used to control the 3D Character Controller script, configured for use in sidescrolling gameplay.

Sound 

Miscellaneous

Name Description 2D 3D
generateobjects.js A simple script for generating a large number of objects on load.
randomsizeonload.js Simple script (often used in tandem with generateobjects.js) that randomly sizes/places object on awake.
destroytaggedobjects.js Simple “destroy object on collision if tagged” script.
fadeinout.js Simple fade in/fade out and load a level script.

About

A collection of basic utility scripts for Unity 5, to aid in rapid prototyping.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published