Exemple #1
0
 public ButtonGridLiveThumbnailController(LiveThumbnailController liveThumbnailController, ButtonGrid buttonGrid, ScrollView scrollView)
 {
     this.liveThumbnailController = liveThumbnailController;
     liveThumbnailController.ThumbnailDestroyed += liveThumbnailController_ThumbnailDestroyed;
     this.buttonGrid = buttonGrid;
     this.scrollView = scrollView;
     scrollView.CanvasPositionChanged += scrollView_CanvasPositionChanged;
 }
Exemple #2
0
 void liveThumbnailController_ThumbnailDestroyed(LiveThumbnailController thumbController, PooledSceneView sceneView)
 {
     RenderManager.Instance.destroyTexture(sceneView.SceneView.Name);
 }