This should be a spawnsystem, working with the photonplugin, but there is a error i don´t know how to deal with. please help
In the future, please post scripts as text not images. You can select your script and use the 101/010 button to format it. As for your question, line 13 should be:
spawnSpots = GameObject.FindObjectsOfType<SpawnSpot>();
There are two issues with your original code. Since spawnSpots is an array you want ‘Objects’ with an ‘s’ rather than the singular ‘Object’ and you need the ‘()’ to envoke the method.
Thank you, i changed it, but now i have a new error:
Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.TypeLoadException: Could not load type ‘System.Func`1’ from assembly ‘mscorlib, Version=126.96.36.199, Culture=neutral, PublicKeyToken=7cec85d7bea7798e’.
could you please help me one more time?