Code: Select all
SFSEvent.onConnection += HandleConnection;
which I changed to:
Code: Select all
SFSEvent.onConnection = Delegate.Combine(HandleConnection);
and get the error: InvalidCastException: Cannot cast from source type to destination type.
Code: Select all
SFSEvent.onConnection += HandleConnection;
Code: Select all
SFSEvent.onConnection = Delegate.Combine(HandleConnection);
Return to “.Net / Unity3D API”
Users browsing this forum: No registered users and 22 guests