Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

new SimulationKernelNodeDefinition

Discussion in 'Animation Previews' started by snacktime, Sep 27, 2020.

  1. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,356
    I can see how this better abstracts some stuff out but it makes api discoverability quite a bit worse. I'd rather create a node and end up with no op interface implementations. Maybe there were performance reasons for this but it does break with convention in a pretty bad way.
     
  2. janusl

    janusl

    Unity Technologies

    Joined:
    Aug 8, 2018
    Posts:
    24
    Hi, can you elaborate on why it makes API discoverability worse, and what you mean with ending up with no-op interface implementations?

    Are you referring to having to implement all the various `IUpdate` etc?

    Yes, this is the reason we're doing this.