| Send2DTexture_ExampleSendAndChangeTexture Method |
An example of how to send a Texture2D.
Optional parameters include to send it as a PNG (larger file, but allows for transparent pixels, default is JPG),
and to synchronize every user's callback function (in this case, "ChangeSPriteTexture"), the default is to not synchronize
callback functions, so once a user downloads an image, by default they will execute their given function instead of
waiting for every other user to download the image as well.
Namespace:
SimpleDemos
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public void SendAndChangeTexture()
Public Sub SendAndChangeTexture
public:
void SendAndChangeTexture()
member SendAndChangeTexture : unit -> unit
See Also