public void Setup()
 {
     m_Model = skinningCache.CreateCache <MeshVisibilityToolModel>();
     m_View  = new MeshVisibilityToolView(skinningCache)
     {
         GetModel         = () => m_Model,
         SetAllVisibility = SetAllVisibility,
         GetAllVisibility = GetAllVisibility
     };
 }
예제 #2
0
 public SpriteVisibilityTool(SkinningCache s)
 {
     m_SkinningCache = s;
     m_Data          = skinningCache.CreateCache <SpriteVisibilityToolData>();
     m_Controller    = new SpriteVisibilityToolController(this, skinningCache.events);
     m_View          = new SpriteVisibilityToolView()
     {
         GetController = () => m_Controller
     };
 }