Method MoveComponentFirst
MoveComponentFirst(Component)
Moves the given component to be first in the list on the GameObject. If not in editor, this function is a no-op.
Declaration
public static void MoveComponentFirst(Component comp)
Parameters
Type | Name | Description |
---|---|---|
Component | comp | The component to be moved. |