UNPKG

owl-bt

Version:

owl-bt is editor for Behavior trees. It has been inspired by Unreal engine behavior trees in a way, that it supports special node items like decorators and services. This makes trees smaller and much more readable.

15 lines (12 loc) 488 B
'use strict'; angular.module('editorApp') .directive('enumPropertyEditor', function() { return { template: '<div><form-group-param-editor property="property"><select class="form-control" ng-model="property.value" ng-model-options="{ getterSetter: true, allowInvalid:true}" ng-options="option for option in property.desc.values"></select></form-group-param-editor></div>', restrict: 'EA', replace: true, scope: { property: '=', } }; });