protected void OnEnable()
 {
     renderer      = this.target as MeshShapeRenderer;
     nodeSetEditor = new MGNodeSetEditor(serializedObject.FindProperty("nodeSet"), renderer.nodeSet);
 }
 protected void OnEnable()
 {
     nodeSetEditor = new MGNodeSetEditor(serializedObject.FindProperty("nodeSet"), (serializedObject.targetObject as MGNodeSetComponent).nodeSet);
 }
Example #3
0
 protected override void OnEnable()
 {
     renderer      = this.target as UIShapeRenderer;
     nodeSetEditor = new MGNodeSetEditor(serializedObject.FindProperty("nodeSet"), renderer.nodeSet);
     base.OnEnable();
 }