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
| using UnityEngine; | |
| using UnityEditor; | |
| using System.Collections; | |
| public class TextureCompressor_UI : EditorWindow | |
| { | |
| // Add menu item to the Menu Bar | |
| [MenuItem("HB_Studios/Compress UI")] | |
| // Initializing the window | |
| static void Init() |
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
| __author__ = "Narendra 'aka' NaRango" | |
| '''This script is for viewing purpose only. May not work by default. Requires a Maya scene that has proper node network | |
| node network: | |
| 1. create an unknown node with name "nyTR" | |
| 2. add a "message" data-type attribute with name "psd" | |
| 3. create a psd node and connect <psd_node>.mesage to nyTR.psd | |
| USAGE: | |
| 1) Execute this script in Maya's Script Editor | |
| 2) It should open "Unity Exporter" window |
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
| __author__ = "Narendra 'aka' NaRango" | |
| ''' | |
| Exports assets directly to selected Unity Project | |
| valid Assets = models | |
| USAGE: | |
| 1) Execute this script in Maya's Script Editor | |
| 2) It should open "Unity Exporter" window |