Inheritance: PropertyVisitor, IPrimitivePropertyVisitor, ICustomVisitPrimitives, ICustomVisit, ICustomVisit, ICustomVisit, ICustomVisit, ICustomVisit, ICustomVisit, ICustomVisit
        void OnEnable()
        {
            visitor = new EntityIMGUIVisitor((entity) =>
                {
                    var targetProxy = (EntitySelectionProxy) target;
                    if (!targetProxy.Exists)
                        return;
                    targetProxy.OnEntityControlSelectButton(targetProxy.World, entity);
                },
                () => { return callCount++ > 0; });

            inclusionList = new SystemInclusionList();
        }
        void OnEnable()
        {
            visitor = new EntityIMGUIVisitor((entity) =>
            {
                var targetProxy = (EntitySelectionProxy)target;
                if (!targetProxy.Exists)
                {
                    return;
                }
                targetProxy.OnEntityControlDoubleClick(entity);
            });

            inclusionList = new SystemInclusionList();
        }
Exemple #3
0
        void OnEnable()
        {
            visitor = new EntityIMGUIVisitor(entity =>
            {
                var targetProxy = (EntitySelectionProxy)target;
                if (!targetProxy.Exists)
                {
                    return;
                }
                targetProxy.OnEntityControlSelectButton(targetProxy.World, entity);
            },
                                             entity => currentEntityManager.GetName(entity));

            inclusionList = new SystemInclusionList();
        }
 void OnEnable()
 {
     visitor       = new EntityIMGUIVisitor();
     inclusionList = new SystemInclusionList();
 }
 void OnEnable()
 {
     visitor = new EntityIMGUIVisitor();
 }