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().
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