Version: 2020.1
public static Vector3 Swizzle (GridLayout.CellSwizzle swizzle, Vector3 position);

参数

swizzle 确定重排的重新排列顺序。
position 要进行重排的位置。

返回

Vector3 重排的位置。

描述

使用给定的重排顺序对给定位置进行重排。

另请参阅:Grid.CellSwizzle。