Version: 2020.1
언어: 한국어

MeshConstructor

매뉴얼로 전환
public Mesh ();

설명

Creates an empty Mesh.

// Create a new Mesh and assign it to the Mesh filter
using UnityEngine;

public class ExampleClass : MonoBehaviour { void Start() { Mesh mesh = new Mesh(); GetComponent<MeshFilter>().mesh = mesh; } }