Following Code isnt working:
public class Player : MonoBehaviour
{
public void Start()
{
InvokeRepeating(“Test()”, 0, 1);
}
public void Test()
{
print(“Test”);
}
}
Error Message: Trying to Invoke method: Player.Test() couldn’t be called.
Following Code isnt working:
public class Player : MonoBehaviour
{
public void Start()
{
InvokeRepeating(“Test()”, 0, 1);
}
public void Test()
{
print(“Test”);
}
}
Error Message: Trying to Invoke method: Player.Test() couldn’t be called.
Write “Test” without ()