Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetStringLength(nint)

Returns the length (the count of Unicode characters) of a Java string.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule

GetStringLength(IntPtr)

public static int GetStringLength(nint str)

Parameters

Returns

Type

Description

int

Remarks