Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PushLocalFrame(int)

Creates a new local reference frame, in which at least a given number of local references can be created.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static int PushLocalFrame(int capacity)

Parameters

capacity

The minimum number of local references the new frame can hold.

Returns

Type

Description

intZero on success. A negative value on failure.

Remarks