Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WriteInt(int)

Writes a 4-byte signed integer from the current stream and advances the current position of the stream by four bytes.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public bool WriteInt(int value)

Parameters

value

The 4-byte signed integer to write.

Returns

Type

Description

boolWhether the write was successful