Git Product home page Git Product logo

screen-shooter's People

Contributors

batreg avatar blurryroots avatar borod4r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

screen-shooter's Issues

NullReferenceException: Object reference not set to an instance of an object

I get this exception after pressing "Take Screenshots":

NullReferenceException: Object reference not set to an instance of an object
Borodar.ScreenShooter.Utils.GameViewUtil.AddCustomSize (Borodar.ScreenShooter.Utils.GameViewUtil+GameViewSizeType viewSizeType, UnityEditor.GameViewSizeGroupType sizeGroupType, System.Int32 width, System.Int32 height, System.String text) (at Assets/Plugins/Screen Shooter/Screen-Shooter/ScreenShooter/Editor/Scripts/Util/GameViewUtil.cs:66)
Borodar.ScreenShooter.ScreenShooterWindow+<TakeScreenshots>c__Iterator0.MoveNext () (at Assets/Plugins/Screen Shooter/Screen-Shooter/ScreenShooter/Editor/Scripts/ScreenShooterWindow.cs:224)
Borodar.ScreenShooter.Utils.EditorCoroutine.Update () (at Assets/Plugins/Screen Shooter/Screen-Shooter/ScreenShooter/Editor/Scripts/Util/EditorCoroutine.cs:61)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:127)

After some digging through, I discovered that the ctor variable at the line 65 of GameViewUtil.cs is not fetching the constructor, but remains null, therefore the line beneath it fails because of null reference.

Simply getting all constructors and invoking the 0th one works since there are no other constructors in the target file. But this feels very hacky, since they can change this implementation in the future. Nevertheless, I will send you a pull request about this, the decision is yours.

I am using Unity 2017.3.1f1

Options to adjust planeDistance of the Canvas

Hey, very awesome plugins when creatings metas for mobile games. πŸ‘
Could it be possible to make the planeDistance value of canvas tweakable in some settings ?

Canvas[] canvases = GameObject.FindObjectsOfType<Canvas>();
Camera camera = Camera.main;
foreach(Canvas iCanvas in canvases)
{
         iCanvas.renderMode = RenderMode.ScreenSpaceCamera;
         iCanvas.worldCamera = camera;
         iCanvas.planeDistance = πŸ‘‰ 1f πŸ‘ˆ ;
}

As sometimes 1 unit is too close to some 3D element, and the UI end up cliping in it.

Thanks !

Add autoincrement option for tag

I will just leave it here so I don't forget.

Would be great to have "Autoincrement Tag" checkbox, so if the last symbol is number it will autoincrement it when you make a screenshot so you could iterate faster.

Capturing screen overlay in the screenshots.

Hello.
The description claims the script captures screenshots, but this script renders camera.
In Unity, after image is captured from camera, there are screen overlays and post-processing effects not accessible through a Camera.
Is there an easy way to add those?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.