Code Monkey home page Code Monkey logo

Comments (6)

naabel avatar naabel commented on September 4, 2024 1

Closed, see Trello card (https://trello.com/c/OI53wkQo)

from newtonvr.

zite avatar zite commented on September 4, 2024

I think we probably will implement this soon. Going to look at using UnityEvents instead though, they seem pretty nice.

from newtonvr.

smygarn avatar smygarn commented on September 4, 2024

Great. Looking forward to upcoming updates. Do you have any plans of a slack channel to be able to expand the community around this?

from newtonvr.

omgwtfgames avatar omgwtfgames commented on September 4, 2024

I started implementing some events like this for item attachment/detachment too (eg omgwtfgames/NewtonVR@e4bf5ed...feature/onattach-events ).

It's not yet cleaned up as a proper pull request though since I haven't done things consistently - I started by using plain old delegate events on AttachJoint but then used UnityEvents on InteractableItem. I think UnityEvents is probably the better option since the Inspector integration can be useful and I don't see any significant disadvantages.

Some discussion about how we should implement this consistently across the library would be good.

from newtonvr.

flarb avatar flarb commented on September 4, 2024

Yeah this is 100% needed. I had a bunch of this setup for my old hand control library that I'd like to move over to this.

from newtonvr.

rpgwhitelock avatar rpgwhitelock commented on September 4, 2024

Another nod for this. I use UnityEvents heavily in my own script framework - they are incredibly useful! Can hook up simple behaviours in the inspector without compiling. Very convenient when adding general polish and effects too.

from newtonvr.

Related Issues (20)

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.