Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 30, 2017 20:13:24 GMT
Aaron2348 on the 24 line on the 24 spot there should be a word called Instance, change that to instance. Let me know if it works. For your previous post, No problem!!! :D Cheers!! NuclearRasberry
|
|
|
Post by Aaron2348 on Jul 30, 2017 20:27:15 GMT
should i worry about this? will it effect my project if i choose yes to Unix line endings?
|
|
|
Post by Aaron2348 on Jul 30, 2017 20:28:12 GMT
Aaron2348 on the 24 line on the 24 spot there should be a word called Instance, change that to instance. Let me know if it works. For your previous post, No problem!!! :D Cheers!! NuclearRasberry Okay hold on , I will try now!!
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 30, 2017 20:31:11 GMT
I don't think you should worry about the unix line endings. Let me know if it works Aaron2348 Hope it helps! NuclearRasberry
|
|
|
Post by Aaron2348 on Jul 30, 2017 20:35:50 GMT
Aaron2348 on the 24 line on the 24 spot there should be a word called Instance, change that to instance. Let me know if it works. For your previous post, No problem!!! :D Cheers!! NuclearRasberry Hey so i don't see the word 'Instance' am i in the right spot? free photo uploading websites
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 30, 2017 20:38:47 GMT
Aaron2348 on your right you see number lines (in your pic it's like 375), go to line 24, and there you'll see a word called Instance that you can replace with instance. Thanks! NuclearRasberry
|
|
|
Post by Aaron2348 on Jul 30, 2017 20:39:56 GMT
I don't think you should worry about the unix line endings. Let me know if it works Aaron2348 Hope it helps! NuclearRasberry so should it look like this, I go to build it out after changing Instance to instance but still the same error, do i need to change the ones below too? online print screen
|
|
|
Post by Aaron2348 on Jul 30, 2017 20:40:39 GMT
again thanks so much, Im learning right now
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 30, 2017 20:42:41 GMT
Your on line 345, you see your code, on the left their are numbers where you see 345, scroll up to line 24, and replace the word Instance with instance, if the problem persistes put every Instance with instance. No problem :D !!!!
Thanks!! NuclearRasberry
|
|
|
Post by Aaron2348 on Jul 30, 2017 20:46:30 GMT
Your on line 345, you see your code, on the left their are numbers where you see 345, scroll up to line 24, and replace the word Instance with instance, if the problem persistes put every Instance with instance. Thanks!! NuclearRasberry yeah i figured i was in the wrong place, I sent a screenshot of the actual line 24 error I'm getting, i found it, but yeh i changed it but still error, so u say that i should change all of them from Instance to instance?
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 30, 2017 20:48:18 GMT
Yeah, what does the error say Aaron2348 after you replaced Instance with instance? Thanks! NuclearRasberry
|
|
|
Post by Aaron2348 on Jul 30, 2017 20:54:51 GMT
Yeah, what does the error say Aaron2348 after you replaced Instance with instance? Thanks! NuclearRasberry It gives the same exact error, i will try changing them all to instance in a few hours, but now i have to go to my day job now. and yes i believe so 2.2 right?
|
|
|
Post by Aaron2348 on Jul 30, 2017 20:56:11 GMT
Yeah, what does the error say Aaron2348 after you replaced Instance with instance? Thanks! NuclearRasberry It gives the same exact error, i will try changing them all to instance in a few hours, but now i have to go to my day job now. and yes i believe so 2.2 right? see!! picture upload
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 30, 2017 20:59:03 GMT
Yeah, what does the error say Aaron2348 after you replaced Instance with instance? Thanks! NuclearRasberry It gives the same exact error, i will try changing them all to instance in a few hours, but now i have to go to my day job now. and yes i believe so 2.2 right? I think, yeah. If not, I know a few devs who might be able to solve the problem. Invector, jrackley, tharindu, sickscore, shadex they might be able to sort out those errors. I'm not sure what to do Aaron2348, I'll try to work on it soon. Hope a solution can be made soon about this addon :D Thanks! NuclearRasberry
|
|
|
Post by sickscore on Jul 30, 2017 22:23:54 GMT
tl;dr As the error says, vInventory doesn't have an "instance" variable. Just create a reference to the inventory:
public vInventory Inventory;
then assign it in the inspector...or via code:
void Start () { Inventory = FindObjectOfType<vInventory> (); if (Inventory == null) Debug.LogError ("No inventory found in scene :("); }
|
|