Hazel πŸŒŠπŸ’ƒ
Hazel πŸŒŠπŸ’ƒ
CC#
Created by Me on 3/19/2025 in #help
2D Movement
At first glance, you're never giving lastHitKey a value, so that's a problem.
44 replies
CC#
Created by Me on 3/19/2025 in #help
2D Movement
Describe the error that's occuring.
44 replies
CC#
Created by Qualy on 3/19/2025 in #help
player ranking
(unless it's a requirement to modify the existing list)
27 replies
CC#
Created by Qualy on 3/19/2025 in #help
player ranking
(we can make intelligent assumptions, it's just better to be explicit with your types when asking for help)
27 replies
CC#
Created by Qualy on 3/19/2025 in #help
player ranking
Dictionary of what
27 replies
CC#
Created by Qualy on 3/19/2025 in #help
player ranking
List of what
27 replies
CC#
Created by simon on 11/22/2024 in #help
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Data.SqlClient
Switched also to SqlClient 6.0.0-preview, still says 5.0.0.0 is missing.
The fact that it's looking for 5.0.0.0 across two version spec changes on your part indicates that something here is referencing a lower version; and it won't respect the higher version as a result. I recommend digging through the dependency chain (to include the import you have) and locate what's referencing the lower version. I don't have enough time to dig much deeper than that right now, but hopefully that helps.
5 replies
CC#
Created by JΓ«skΕ‚er on 4/17/2024 in #help
Damage system isn't working
I'm not a unity expert, my thought is that it's a result of the collision being registered on multiple frames before being destroyed.
10 replies
CC#
Created by JΓ«skΕ‚er on 4/17/2024 in #help
Damage system isn't working
From a debugging perspective, how many times do you see your "this is also hitting you" and "you're hit" messages for each interaction?
10 replies
CC#
Created by JΓ«skΕ‚er on 4/17/2024 in #help
Damage system isn't working
$code
10 replies
CC#
Created by Mass on 4/15/2024 in #help
βœ… Inconsistent accessibility: property type is less accessible than property.
// visible inside the defining assembly only
internal class Foo;

// visible outside the defining assembly
public class Bar
{
// visible outside the defining assembly
// but foo is only available internally
// so error
public Foo GetFoo()
{
return new Foo();
}

// visible internally only
// so no error
internal Foo GetFoo()
{
return new Foo();
}
}
// visible inside the defining assembly only
internal class Foo;

// visible outside the defining assembly
public class Bar
{
// visible outside the defining assembly
// but foo is only available internally
// so error
public Foo GetFoo()
{
return new Foo();
}

// visible internally only
// so no error
internal Foo GetFoo()
{
return new Foo();
}
}
45 replies
CC#
Created by Mass on 4/15/2024 in #help
βœ… Inconsistent accessibility: property type is less accessible than property.
A snippet to help visualize why this is important:
45 replies
CC#
Created by Mass on 4/15/2024 in #help
βœ… Inconsistent accessibility: property type is less accessible than property.
The options to resolve this are: 1. Change the accessibility level of Bar to internal. 2. Change the accessibility level of Foo to public.
45 replies
CC#
Created by Mass on 4/15/2024 in #help
βœ… Inconsistent accessibility: property type is less accessible than property.
Here, Bar gets that error because Foo is internal but Bar is public while attempting to derive from Foo.
45 replies
CC#
Created by Mass on 4/15/2024 in #help
βœ… Inconsistent accessibility: property type is less accessible than property.
internal class Foo;
public class Bar : Foo;
internal class Foo;
public class Bar : Foo;
45 replies
CC#
Created by Mass on 4/15/2024 in #help
βœ… Inconsistent accessibility: property type is less accessible than property.
For example:
45 replies
CC#
Created by Mass on 4/15/2024 in #help
βœ… Inconsistent accessibility: property type is less accessible than property.
That error indicates that you're exposing something that is less accessibile than the type throwing it.
45 replies
CC#
Created by nkr on 4/6/2024 in #help
Windows Forms help needed
It automatically handles that for you.
49 replies
CC#
Created by nkr on 4/6/2024 in #help
Windows Forms help needed
I recommend using a tab control instead of a menu strip for that page change idea.
49 replies
CC#
Created by incel detector on 2/7/2024 in #help
βœ… How to intercept and cancel minimize events | C# WPF newbie
$code
3 replies