Skip to content

Instantly share code, notes, and snippets.

View Demkeys's full-sized avatar
💭
Always learning and sharing knowledge

Abhinav a.k.a Demkeys Demkeys

💭
Always learning and sharing knowledge
View GitHub Profile
@Demkeys
Demkeys / TransformChanges.cs
Created October 26, 2017 08:18
Store Transform PlayMode Changes
/// <summary>
/// -----------------------------
/// Transform Changes tool
/// -----------------------------
/// This is a simple tool that allows you to store any changes made to the Position, Rotation and Scale of all Gameobjects in the scene
/// during PlayMode, and apply those changes to all the Gameobjects after exiting PlayMode.
/// Instructions:
/// -Place this script in the Editor folder in your project. Then the 'MyTools' menu should appear in your MenuBar with the
/// Store and Apply options.
/// -Enter PlayMode. Make changes to the Postion, Rotation and Scale of gameobjects in the scene. Click 'MyTools/Store Transform PlayMode Changes'.
@Demkeys
Demkeys / GameobjectSelectorWindow.cs
Last active April 23, 2018 17:45
GameobjectSelector
/// <summary>
/// -----------------------------
/// Gameobject selector window
/// -----------------------------
/// Make sure to place this script in the Editor folder. To open the window click 'MyTools/GameobjectSelector'.
/// This window lets you assign a gameobject to the ObjectToSelect field. Once a gameobject is assigned, if the gameobject
/// has any child gameobjects, four buttons will show up, giving you the following options.
/// 1.Select Parent gameobject
/// 2.Select First child gameobject
/// 3.Select Last child gameobject