示例#1
0
 public void ResetItem()
 {
     isUsing = false;
     gameObject.SetActive(false);
     boxcollider.enabled = false;
     splineMove.ResetToStart();
     splineMove.speed = 0;
     splineMove.Stop();
     splineMove.enabled = false;
     transform.SetParent(MainPanel._Ins.foodCtrl.transform);
     foodInfo.FOODSTATE = FoodState.Free;
 }