playMaker

Author Topic: Mimic the "Apply" button on a prefab in the scene.  (Read 705 times)

Aaddiction

  • Junior Playmaker
  • **
  • Posts: 85
    • View Profile
Mimic the "Apply" button on a prefab in the scene.
« on: September 27, 2014, 03:03:41 PM »
Hello, I searched but could not find how to apply changes to a prefab from a prefab instance in the scene. I'm looking for something like this:
http://answers.unity3d.com/questions/342091/how-can-i-mimic-the-apply-button-in-editor-script.html

Can this be made into an action?
« Last Edit: September 27, 2014, 03:10:21 PM by Lockon302 »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Mimic the "Apply" button on a prefab in the scene.
« Reply #1 on: January 26, 2016, 06:51:46 AM »
Hi,

 unfortunatly no, because this script is only working in Editor, and PlayMaker can only execute actions when you play the scene.

however is it a case where you want to run the scene in Editor and apply the changes you made at runtime back to the prefab? If that's the case, you can simply use the Unity Interface to do this isn't it?


Bye,

 Jean