コード例 #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"));
 }
コード例 #2
0
 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
     };
 }