I’m having a problem, I want to know if it’s possible to call an Instantiate within a function to call other functions, if so how? . Example:
public GameObject prefab;
public void criarPlayer() {
Instantiate(prefab, new Vector3(10, 0, 0), Quaternion.identity);
}
Thanks