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