Version: 5.6
public bool isReadable ;



スクリプトから作成されたダイナミックメッシュの場合、常に true を返します。

Meshes not marked readable will throw an error on accessing any data arrays from script at runtime. Access is allowed in Unity's Editor outside of the game and rendering loop.

using UnityEngine;
using System.Collections;

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