playMaker

Author Topic: NOT action but usuefull c# scripts  (Read 2101 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
NOT action but usuefull c# scripts
« on: March 22, 2015, 08:24:30 PM »
I know these are not playmaker actions but thought the users may like this.  I have come across these 2 c# scripts that you may find helpful. 

The first is an alpha numeric sort.  This allows you to sort the hierarchy.  it will create a button at the top right of the hierarchy window.  Click it and a list of sorting types for you to select.

The second ads buttons next to the transform in the inspector to reset to 0,0,0 (position and rotation) and 1,1,1 for scale.  You just click on it to reset.  This is when you create a new object and it's sets a crazy location.  Instead of manually doing this, you just click the button.

You just import them into your project, make a folder called 'editor' in the project and put these there.  They will not work unless they are in the proper folder.  After a minute or so they will compile and you can use.

BTW:  I did neither of these.  I just got them off of unity's forems.
« Last Edit: March 23, 2015, 02:18:47 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: NOT action but usuefull c# scripts
« Reply #1 on: March 23, 2015, 02:17:59 AM »
Hi,

You should reference the forum posts, so that we can check for news and possible updates.

 Bye,

 Jean