Search Unity

[Free Editor Tools] DisplayObjectInfo, StoreTransformPlayModeChanges and SceneLoaderWindow

Discussion in 'Made With Unity' started by Demkeys, Feb 24, 2018.

  1. Demkeys

    Demkeys

    Joined:
    Nov 14, 2014
    Posts:
    32
    These are 3 Editor Tools that I've worked on over time. They're simple tools, but can be helpful in various scenarios. Figured I'd share them here.

    1. DisplayObjectInfo:
    GitHub: https://github.com/Demkeys/DisplayObjectInfoTool
    This tool displays info (Name,Tag, Layer,Position,Rotation,Scale,etc.) of all active GameObjects in the scene.
    Features:
    • Show Info - You can choose multiple options between Name, Tag, Layer, Position (Local/Global), Rotation (Local/Global), Scale (Local/Global), Magnitude and Parent Connection
    • All text and line colors customizable
    • Text size customizable
    • Text space customizable
    • Text position offset customizable
    • Data Persistence - Data is saved whenever OnDisable() is called, this includes closing the Editor Window, and even maximizing any other Editor Window. So if the window is closed, the data will be saved, and the next time it is opened again, the saved data will be loaded.
    • Restore Tool To Default - Tool settings can be restored to default
    2. SceneLoaderWindow:
    GitHub: https://github.com/Demkeys/SceneLoaderWindow
    Scene Loader Window is a simple Unity Editor tool that provides you with easy access to all the scenes in your project.

    3. StoreTransformPlayModeChanges:
    GitHub: https://github.com/Demkeys/storetransformplaymodechanges
    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:
    1. Enter PlayMode. Make changes to the Postion, Rotation and Scale of gameobjects in the scene. Click 'MyTools/Store Transform PlayMode Changes'.
    2. Exit PlayMode. Click 'MyTools/Apply Transform PlayMode Changes'. All the changes you made to the Position, Rotation and Scale of any gameobjects in the scene, will be applied.

    Note: Regardless of which tool you're using, place the script in the Editor folder in your project. Then the My Tools menu should appear.

    Hope this helps.
     
    Last edited: Feb 24, 2018