playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - odthiago

Pages: [1]
1
General Discussion / Call static method[SOLVED]
« on: November 12, 2018, 07:45:38 PM »
Hi, people

Im trying to call a static method (Call Static Method - Action) but rise this error:
"Invalid Method Name or Parameters:"

I bought the "Exploder" Asset and the script of the demo scene call the static method GetInstance().

Code: [Select]
public class ExploderSingleton : MonoBehaviour
...
...
private static ExploderObject Instance;

public static ExploderObject GetInstance(){
   return Instance;
}

void Awake(){
            Instance = gameObject.GetComponent<ExploderObject>();
}

What can I do?
Hope you understand...

Thx a lot,
Thiago from Brazil



2
General Discussion / (SOLVED)Question about templates
« on: November 05, 2018, 04:26:23 AM »
Hi, people

I created a generic template to attach on each body part of enemies of my game. The template control "health" of each body part. Fire the animation when the body part is hitted...and more.

I created a String variable called "boolAnimatorParameter" that's represents what animator parameter will be change when call "Set Animator bool".
But when I set a value to "boolAnimatorParameter" to "isRightLegHit", for instance, the "boolAnimatorParameter" is changed to all of FSM that recieved my generic template.

How can I set a value to a template variable without change of others FSM with same temaplate? Sorry my spelling! Hope you can understand!

Thx a lot,
Thiago from Brazil

3
General Discussion / I cant able to save Templates
« on: October 20, 2018, 07:36:24 PM »
Hi, Guys

After I updated Unity to 2018.2.12f1 I cant able to save templates inside Project´s Asset folder. Im using playmaker 1.9.0

The message:
"Templates can only be saved in the Project´s Asset Folder"

Im tryin to save inside asset folder.
(c:\...\...\my_project\Assets\PlayMaker\Templates)

What I can do?

Thx a lot!
Thiago from Brazil


Pages: [1]