コード例 #1
0
 private void TargetUpdate()
 {
     if (lpmTarget != target)
     {
         lpmTarget        = target as LowPolyMesh;
         currentSubMeshes = new LowPolySubMesh[lpmTarget.SubMeshCount];
         lpmTarget.GetSubMeshes(currentSubMeshes);
     }
 }
コード例 #2
0
 void OnEnable()
 {
     lowPolyMesh = target as LowPolyMesh;
 }