GithubHelp home page GithubHelp logo

tkoolerlufar / unityscreensaver Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 532 KB

Can I make a screen saver with Unity?

Home Page: https://qiita.com/tkooler_lufar/items/c5bdf1b2793ba0b390d9

Kotlin 5.65% C# 11.11% ShaderLab 70.91% HLSL 12.33%
unity3d unity3d-android-plugin windows-screensaver

unityscreensaver's Introduction

日本語で読む

UnityScreenSaver

Can I make a screen saver with Unity?


Files for Android

For Android screen saver (known as Daydream but not VR platform), I made these files:

  • Assets/
    • Plugins/
      • Android/
        • AndroidManifest.xml
        • UnityPlayerDreamService.kt
        • UnityPlayerDream.kt

This Daydream can close itself by C# managed code. For example, see Quit() method on Assets/QuitTimerScript.cs.

Files for Windows

I made a screen saver launcher for Windows on ExternalPrograms/Windows/UnityScreenSaverLauncher.

How to build:

  1. Prepare your Visual Studio with ".NET desktop development" feature.
  2. Open this Unity project on Unity and build it in Build/Windows.
  3. Open ExternalPrograms/Windows/UnityScreenSaverLauncher/UnityScreenSaverLauncher.sln.
  4. Publish the solution. Launcher.exe will be put in Build/Windows.
  5. Rename Launcher.exe "(your Unity project name).scr"
  6. Complete!

When you use the solution with your Unity project, make sure:

  • Put on a folder 3-level below the Unity project root. (for example: /ExternalPrograms/Windows/UnityScreenSaverLauncher/UnityScreenSaverLauncher.sln)
  • There is a project in the solution. Change the project's name as same as the Unity Project's product name.

License

MIT

unityscreensaver's People

Contributors

tkoolerlufar avatar

Watchers

 avatar

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.