Ejemplo n.º 1
0
 public AddClothAction(ClothModelHandler handler, Vector3 pos)
 {
     position          = pos;
     clothModelHandler = handler;
 }
Ejemplo n.º 2
0
 public CopyClothAction(ClothModelHandler handler, GameObject cloth, Vector3 pos)
 {
     clothModel        = cloth;
     position          = pos;
     clothModelHandler = handler;
 }
Ejemplo n.º 3
0
 public RemoveClothAction(ClothModelHandler handler, GameObject cloth)
 {
     Debug.Log("Creating CopyClothAction");
     clothModel        = cloth;
     clothModelHandler = handler;
 }
Ejemplo n.º 4
0
 void Start()
 {
     clothModelHandler = GetComponentInParent <ClothModelHandler> ();
 }