Exemplo n.º 1
0
 internal override void OnCreate()
 {
     m_CopyToolView = new CopyToolView();
     m_CopyToolView.onPasteActivated += OnPasteActivated;
     m_CopyToolStringStore            = new SystemCopyBufferStringStore();
     disableMeshEditor = true;
 }
Exemplo n.º 2
0
        public override void DoOtherSetup()
        {
            var sprite = skinningCache.GetSprites()[0];

            skinningCache.events.selectedSpriteChanged.Invoke(sprite);
            skinningCache.events.boneSelectionChanged.Invoke();

            m_CopyTool                     = skinningCache.GetTool(Tools.CopyPaste) as CopyTool;
            m_CopyStringStore              = new StringCopyToolStringStore();
            m_CopyStringStore.stringStore  = "";
            m_CopyTool.copyToolStringStore = m_CopyStringStore;
        }