public bool PushResource(Resource.Res type, int amount)
 {
     if (this.type == type)
     {
         if (count <= maxWeight)
         {
             count += amount;
             return(true);
         }
     }
     return(false);
 }
 public bool PullResource(Resource.Res type, int amount)
 {
     if (this.type == type)
     {
         if (count >= amount)
         {
             count -= amount;
             return(true);
         }
     }
     Debug.Log("Falscher Type oder voller Lagerplatz");
     return(false);
 }