Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Register(TElement)

Adds all group event handlers to the given element.
Read time 1 minuteLast updated 12 days ago

Definition

Register(T)

public void Register(TElement element)

Parameters

element

T
The element to add the group to.

Remarks

This method allows the contained callbacks to be shared by multiple elements, resulting in a reduced memory footprint.
This method is usually faster than registering the corresponding callbacks individually.