Last active
June 6, 2016 11:40
-
-
Save peroon/4b44a8b60f121b806f486b83b3f69383 to your computer and use it in GitHub Desktop.
アセットのSlate, BlendShapeの候補が出てこないのでとりあえず対応
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| foreach(var shape in expression.blendShapes.ToArray()){ | |
| GUILayout.BeginHorizontal("box"); | |
| GUILayout.BeginVertical(); | |
| var skin = shape.skin; | |
| // me | |
| skin = character.GetComponentsInChildren<SkinnedMeshRenderer> ().Where (s => s.sharedMesh.blendShapeCount > 0).First (); | |
| var name = shape.name; | |
| var weight = shape.weight; | |
| skin = EditorTools.Popup<SkinnedMeshRenderer>("Skin", skin, skins); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment