Error while compiling: SpawnMini.cs(334,61): error CS1061: Type `MiniCopter' does not contain a definition for `fuelStorageInstance' and no extension method `fuelStorageInstance' of type `MiniCopter' could be found. Are you missing an assembly reference?
Type `MiniCopter' does not contain a definition for `fuelStorageInstance'Fixed
Yep, the update has changed a few things with the Minicopters.
Same issue here.
Same issue here.
Error while compiling: Skins.cs(1134,53): error CS1501: No overload for method `SlotTaken' takes `1' arguments
Same here.. hope for an fast update :)
I also have the same issue .. Please let me know if you guys found a resolution ..
ok find
fuelStorageInstance.Get
add this infront of it
GetFuelSystem()?.
so like this
GetFuelSystem()?.fuelStorageInstance.Get
fuelStorageInstance.Get
add this infront of it
GetFuelSystem()?.
so like this
GetFuelSystem()?.fuelStorageInstance.Get
Original Code:
The fix that worked for me was:
StorageContainer fuelContainer = minicopter.fuelStorageInstance.Get(true).GetComponent<StorageContainer>();
The fix that worked for me was:
StorageContainer fuelContainer = minicopter.GetFuelSystem().GetFuelContainer();
Mufin9523
ok find
fuelStorageInstance.Get
add this infront of it
GetFuelSystem()?.
so like this
GetFuelSystem()?.fuelStorageInstance.Get
Can confirm this works Thanks!
Code is on line 257 & 331.
Mufin9523
ok find
fuelStorageInstance.Get
add this infront of it
GetFuelSystem()?.
so like this
GetFuelSystem()?.fuelStorageInstance.Get
Nice bro! thx it works :)
thx Mufin9523
Thank you :D
16:07 [Error] Error while compiling: NoVehicleFuel.cs(45,39): error CS1061: Type `MiniCopter' does not contain a definition for `fuelStorageInstance' and no extension method `fuelStorageInstance' of type `MiniCopter' could be found. Are you missing an assembly reference?
Error while compiling: SpawnMini.cs(334,61): error CS1061: Type `MiniCopter' does not contain a definition for `fuelStorageInstance' and no extension method `fuelStorageInstance' of type `MiniCopter' could be found. Are you missing an assembly reference?
To fix the issue with the latest update change lines 257 & 331
From:
StorageContainer fuelContainer = minicopter.fuelStorageInstance.Get(true).GetComponent<StorageContainer>();
To:
StorageContainer fuelContainer = minicopter.GetFuelSystem().GetFuelContainer();
Locked automatically