- Home /
Question by
filran · Aug 26, 2015 at 12:37 PM ·
c#animationscripting beginner
How make animation on Unity 3D from XML file?
I have a GO that inside it has three Cubes (GO) where an arrow out of a cube to another.
The position information and animation comes from the XML file. Read XML file that's OK. The difficult for me it is to animate with XML informations. I don't find a tutorial easy explaining how animation on script.
Anyone can help me?
Below an example:
<group name="one" start="x,y,z" end="x,y,z">
<gameobjects>
<gameobject name="Cube1" start="x,y,z" end="x,y,z">
<gameobject name="Cube2" start="x,y,z" end="x,y,z">
<gameobject name="Cube3" start="x,y,z" end="x,y,z">
</gameobjects>
<arrows>
<arrow name="arrow1" start="x,y,z" end="x,y,z">
<arrow name="arrow1" start="x,y,z" end="x,y,z">
</arrows>
</group>
<group name="two" start="x,y,z" end="x,y,z">
<gameobjects>
...
</gameobjects>
<arrows>
...
</arrows>
</group>
<group name="three" start="x,y,z" end="x,y,z">
...
</group>
Comment