protected void MouseUpRequest(int index, int frame)
{
if (!OwningNetWorker.IsServer && !clientSidePrediction)
return;
if (!mouseIndices.Contains(index))
{
mouseUpBuffer.Add(index);
return;
}
if (mouseUpRequest != null)
mouseUpRequest(index, frame);
#if UNITY_EDITOR
else
Debug.LogError("The mouse index " + index.ToString() + " was requested from the client but no mouse input request mouseUpRequest has not been assigned");
#endif
mouseIndices.Remove(index);
}