Search Unity

Question Converting animation binding to type array for generic function is not working because of Transform

Discussion in 'Animation' started by Ozgekocaoglu, Apr 1, 2022.

  1. Ozgekocaoglu

    Ozgekocaoglu

    Joined:
    Feb 13, 2019
    Posts:
    38
    Hi everyone,
    I'm trying to develop a generic function to convert my animation binding keys to their type and i wanna keep them with using SampleAnimation function. But problem is Transform data. Transform data is not capable converting process using reflection.

    So, how can i convert a Transform to object? And how could i get the all structs between them such as position, rotation etc...