If i have 2 cubes, the first is the parent of the second in the hierarchy. How do I aim the relativePath parameter at the child cube?
Here is what I have tried, the code is in a script attached to the parent cube.
Using AnimationClip.SetCurve on child object.
Here is what I have tried, the code is in a script attached to the parent cube.
Code (CSharp):
- private void Test()
- {