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); }
protected override void OnEnable() { renderer = this.target as UIShapeRenderer; nodeSetEditor = new MGNodeSetEditor(serializedObject.FindProperty("nodeSet"), renderer.nodeSet); base.OnEnable(); }