Code Monkey home page Code Monkey logo

handy-unity-scripts's Introduction

Handy-Unity-Scripts

Some scripts that I've made for unity that simplifies workflow.

All scripts should be placed in the Assets folder of your project. I would recommend collecting them in a folder called "Plugins".

πŸ“ Add_Dynamic_Bone.cs:

Script that adds the dynamic bone script to array of objects.

Made for Dynamic Bone version 1.2.2

Current version: 1.2

This script adds the dynamic-bone script to an array of objects. Contains all the parameters that the dynamic bone script includes.

πŸŽ₯Video Preview: https://youtu.be/dZWyMJzwZr0

πŸ†•Update video for v1.2: https://youtu.be/eMA8fxI9Lww

How to use:

  1. Open the tool by going to Tools β†’ Sivert β†’ "Dynamic Bone Adder".
  2. Populate the Array at the top of the script with the gameobjects you want to add the dynamic bone script component to.
  3. Change settings as you wish.
  4. Press the button close to the bottom of the tool-window that says "Add script to bone(s)".

Extra:

  1. To update every script added to the bones, press the button that says "Update bone(s)".
  2. To copy the settings from the bones to the tool, press the button that says "Copy settings from bone(s)".
  3. To remove the dynamic bone script from the bones, press the button that says "Remove script from bone(s)".

πŸ“ playRandomSound.cs:

Script that spawns an empty gameobject during runtime with an audiosource attached, inside of an area, by a timer.

Made for Unity 2020+ (Most likely works with older unity-versions)

Current version: 1.1

πŸŽ₯Video Preview: https://youtu.be/Yxr0_egPvcI

How to use:

  1. Create an empty gameobject.
  2. Add the script-component "Play Random Sound".
  3. Adjust the Size, Timing and AudioSource-settings in the script-component.
  4. Add your audioclips to the Clips-array.
  5. Hit play and test out your settings 😊.

Extra:

  1. You can edit the settings on the go whilst in runtime. Meaning you do not have to adjust settings before hitting play.
  2. Adjusting the settings during runtime also applies to changing the array of clips playing.

handy-unity-scripts's People

Contributors

sivertgullberghansen avatar

Stargazers

 avatar zeezaa avatar Sarah 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.