This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Copyright © 2015 Manoj M J | |
//All Rights Reserved | |
using UnityEngine; | |
using System.Collections; | |
public class TransformTreePreOrderTraversor : MonoBehaviour | |
{ | |
void Start () { | |
TraverseInPreOrder(this.gameObject.transform); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Moved to GitHub: | |
https://github.com/mmj-the-fighter/DCM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Copyright © 2015 Manoj M J | |
//All Rights Reserved | |
//Why I do copyright the code that I provide at gist.github.com | |
//( https://gist.github.com/mmj-the-fighter/bccd0a7ff57c638beee8 ) | |
/* | |
* ShadersLister.cs - Displays gameobjects linked to each shader present in a scene. | |
* It is useful for checking if the scene contains any unwanted shaders. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Copyright © 2015 Manoj M J | |
//All Rights Reserved | |
//Why I do copyright the code that I provide at gist.github.com | |
//( https://gist.github.com/mmj-the-fighter/bccd0a7ff57c638beee8 ) | |
/* | |
* DropObject.cs - Moves selected object downwards till it touches the ground | |
* This is useful for placing 3d models on scene. | |
* TODO:Add Spherecast in addition to Raycast |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Copyright © 2015 Manoj M J | |
//All Rights Reserved | |
//Why I do copyright the code that I provide at gist.github.com | |
//( https://gist.github.com/mmj-the-fighter/bccd0a7ff57c638beee8 ) | |
/* | |
* File:/Editor/TransformCopier.cs - A utility for copying and pasting local or global positons and rotations. | |
* The method CopyTransformToClipboard is useful for pasting the transform to text file. | |
* The copy - paste of scale is avoided since global scale(lossy scale) is a read only property. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Copyright © 2015 Manoj M J | |
//All Rights Reserved | |
//Why I do copyright the code that I provide at gist.github.com | |
//( https://gist.github.com/mmj-the-fighter/bccd0a7ff57c638beee8 ) | |
//Development History: | |
//Authored on : Monday, July 04, 2011 using ShaderDesigner | |
//Posted to my blog on, July 05, 2011 http://www.gamedev1001.blogspot.in/2011/07/gpu-programming.html | |
//Posted to gamedev.net on March 25, 2012 http://www.gamedev.net/topic/622385-a-free-shader/ |
NewerOlder