Version: 2022.1
언어: 한국어
public void CreatePrimitive (int sides, Vector2 scale= Vector2.one, Vector2 offset= Vector2.zero);

파라미터

sides The number of sides in the polygon. This must be greater than two.
scale The X/Y scale of the polygon. These must be greater than zero.
offset The X/Y offset of the polygon.

설명

Creates as regular primitive polygon with the specified number of sides.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961