Esempio n. 1
0
 internal void BindElements()
 {
     m_ToolView               = this.Q <BoneReparentToolView>();
     m_ToolView.GetModel      = InternalGetModel;
     m_ToolView.GetController = InternalGetController;
     this.styleSheets.Add(ResourceLoader.Load <StyleSheet>("SkinningModule/BoneReparentStyle.uss"));
 }
 public void Setup()
 {
     m_Data       = skinningCache.CreateCache <BoneVisibilityToolData>();
     m_Controller = new BoneReparentToolController(this, skinningCache.events);//new BoneTreeWidgetController(this, skinningCache.events);
     m_View       = new BoneReparentToolView()
     {
         GetModel      = () => this,
         GetController = () => m_Controller
     };
 }