playMaker

Author Topic: How to change default action names?  (Read 926 times)

adre

  • Playmaker Newbie
  • *
  • Posts: 20
    • View Profile
Re: How to change default action names?
« Reply #15 on: October 18, 2018, 01:02:36 AM »
Hi,

 for example if you have a public variable referencing your class like:

 public MyClass myClass;

if you rename MyClass, then the script above will break.

 so the best way to rename a class is to use Visual Studio or monodeveloper refactoring solution ( right click on the class name itself), then as you edit the name and validate it, it will scan your project and edit all scripts referencing it.

 this in itself  will not solve any reference you had within Unity events if you had some. you'll have to rewire them manually unfortunatly.

 Bye,

 Jean

Thanks a lot for the info