S
S
SkyCrusher2020-05-21 20:11:16
C++ / C#
SkyCrusher, 2020-05-21 20:11:16

Invoke() method from another class?

I want to call Invoke() on a method from another class, like this:

public void ApplyBuff(Buff buff)
{
        Invoke("ball.IncBallSize", 10.0f);
}

Throws an error: "Trying to Invoke method: LevelBuffManager.ball.IncBallSize couldn't be called."
How to fix it and what needs to be done for this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question