Search Unity

  1. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice

new SimulationKernelNodeDefinition

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

  1. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,222
    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:
    19
    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.
     
unityunity