Ejemplo n.º 1
0
 public void Initiate()
 {
     _states = new Dictionary <int, TransformState>();
     foreach (var node in Nodes)
     {
         _states.Add(node.GetInstanceID(), TransformState.Create(node.transform));
     }
     _renderers = GetComponentsInChildren <MeshRenderer>();
 }