I need help debuggin my script.
[code:1:0279df2b36]
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) GUI.Box (Rect ((Screen.width * 0.545) - 12,(Screen.height * 0.55) - 10,(Screen.width * 0.35) + 20,(Screen.height * 0.35) + 10), " "); } |
This tells me I’m unable to access static variables with this command.
I would also like it if multiple instances of the “same item” would stack.
here is the code:
| Code: |
|
var scrollPosition = Vector2.zero; static var mx_rws = 0; var CurrentSelection : StockItem; function OnGUI() for(var i : StockItem in items) if(CurrentSelection) |