playMaker

Author Topic: Action from script...  (Read 1087 times)

NinjaX

  • Full Member
  • ***
  • Posts: 113
  • XCO is the ULTIMATE IOS Ninja!!
    • XCOGAMES
Action from script...
« on: July 04, 2017, 05:27:41 PM »
Hello fellow Playamakers and 4th of July,

May I ask for help from anyone whos good at making actions for scripts... I am using KRIPTO effects
https://www.assetstore.unity3d.com/en/#!/content/67803

And he has a small guide on how to apply or update at run-time. I was wondering if anyone would be willing to help me make actions for these... 

Here is hes small guide:

For creating effect in runtime, just use follow code:

var currentInstance = Instantiate(Effect, position, new Quaternion()) as GameObject;
var psUpdater = currentInstance.GetComponent<PSMeshRendererUpdater>();
psUpdater.UpdateMeshEffect(MeshObject);


You can change scale of effect using tranform scale of gameObject.

Thank you s much in advance. I have so much on my plate right now with this game, and have recently had to make MAJOR changes for the sake of optimizations which is where im at right now with all these things like re-doing the FX :D
XCO is the ULTIMATE IOS Ninja, Beware for he sees Everything and Nothing all at once!