示例#1
0
        public void Update()
        {
            if (mNodes.AreHighlightsMatching(EditorData.EditingLogic.CurrentNodes) == false)
            {
                mNodes.HighlightObjectNoCall(null, false);

                foreach (PositionedNode node in EditorData.EditingLogic.CurrentNodes)
                {
                    mNodes.HighlightObjectNoCall(node, true);
                }

                if (EditorData.EditingLogic.CurrentNodes.Count != 0 && mNodes.LastChildWindowCreated != null)
                {
                    ((PropertyGrid <PositionedNode>)mNodes.LastChildWindowCreated).SelectedObject =
                        EditorData.EditingLogic.CurrentNodes[0];
                }
            }
        }
示例#2
0
 public void HighlightJointNoCallback(Sprite joint)
 {
     mJointsListDisplayWindow.HighlightObjectNoCall(joint, false);
 }
示例#3
0
 public void HighlightBodySpriteNoCallback(Sprite bodySprite)
 {
     mBodySpritesListDisplayWindow.HighlightObjectNoCall(bodySprite, false);
 }
 public void HighlightNoCall(SplinePoint splinePoint)
 {
     mListDisplayWindow.HighlightObjectNoCall(splinePoint, false);
 }