Useful scripts & utils that I wrote / modified for Unity over the years.
- All scripts are under the NesScript namespace, its recommended to replace it with your own game namespace to separate them from the standard assets.
- All scripts are under the MIT license and are free to use.
- To learn more about the scripts, check out the README.md file in each folder.
The following is a list with all scripts found in this repo:
- Controls\FollowObject\FollowObject.cs
- Controls\GameEditor\FlyCameraController\FlyCameraController.cs
- Controls\GameEditor\ObjectsPlacer\ObjectsPlacer.cs
- Controls\PathFinding\2dTileBasedPathFinding\Grid.cs
- Controls\PathFinding\2dTileBasedPathFinding\Node.cs
- Controls\PathFinding\2dTileBasedPathFinding\PathFinding.cs
- Controls\PathFinding\2dTileBasedPathFinding\Point.cs
- Controls\SimpleFpsControls\FPSMouseLooking.cs
- Controls\SimpleFpsControls\FPSRigidWalker.cs
- Controls\SimpleFpsControls\FPSWalker.cs
- Graphics\Billboard\Billboard.cs
- Graphics\RecalcTextureTile\RecalcTextureTile.cs
- Graphics\TextureFan\TextureFan.cs
- Misc\ExMath\ExMath.cs
- Oldies\Controls\GameEditor\ObjectsPickAndPlacer\ObjectsPickAndPlacer.cs
- Randomizers\RandomDoodadsGenerator\RandomDoodadsGenerator.cs
- Randomizers\RandomRotator\RandomRotator.cs
- Randomizers\RandomScaler\RandomScaler.cs
- TileMap3D\Tile.cs
- TileMap3D\TileMap.cs
- TileMap3D\TilemapEditor.cs
- TileMap3D\TileType.cs
- _External\FpsCounter\HUDFPS.cs
- _External\UnityToolbag\CacheBehaviour\CacheBehaviour.cs
- _External\UnityToolbag\SnapToSurface\Editor\SnapToSurface.cs
- _External\UnityToolbag\UnityConstants\Editor\UnityConstantsGenerator.cs
For more info check out the README file in every script folder.
This repo is also used as a private collection of useful scripts I picked up along the road.
The _External folder contains scripts that I took as-is, as a whole, from other sources. Nothing there is mine, not even edited.
Some of the scripts are based on free stuff I found over the years in forums etc. And some are based on older Unity projects I made, and the sources are unknown.
I try to give credit as much as I can (in the file headers) but its very much possible that I missed a spot, especially on older scripts.
So If you recognize your code but see no proper reference / credit, please let me know so I can fix it (just open a ticket on this git repo or send me an email).
Thanks!