Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetInt(AnimationStream, int)

Sets the integer property value to an object in the Scene.
Read time 1 minuteLast updated 10 days ago

Definition

Warning
Removed. SceneHandle is now read-only; it was problematic with the engine multithreading and determinism
public void SetInt(AnimationStream stream, int value)

Parameters

The AnimationStream managing this handle.

value

The new integer property value.

Remarks

If the property is not an integer, the method will throw an
InvalidOperationException
.