![Freya ✈🇳🇱 (Oct 4-5) Dutch Game Day on X: "Did you know enum types support functions in C#? It's a neat little trick using extension methods~✨ #unity3d #unitytips https://t.co/iOpsRSQNyE" / X Freya ✈🇳🇱 (Oct 4-5) Dutch Game Day on X: "Did you know enum types support functions in C#? It's a neat little trick using extension methods~✨ #unity3d #unitytips https://t.co/iOpsRSQNyE" / X](https://pbs.twimg.com/media/ECIoXoNUwAATbK5.png:large)
Freya ✈🇳🇱 (Oct 4-5) Dutch Game Day on X: "Did you know enum types support functions in C#? It's a neat little trick using extension methods~✨ #unity3d #unitytips https://t.co/iOpsRSQNyE" / X
GitHub - walterellisfun/ConeCast: A Unity3d ConeCastAll extension method for the Physics class, similar to Physics.SphereCastAll
![Freya ✈ Unite Amsterdam • Nov 15-16 on X: "I just found a super nice C# trick for allocation free structs with shared functionality • structs can't inherit from structs • Unity Freya ✈ Unite Amsterdam • Nov 15-16 on X: "I just found a super nice C# trick for allocation free structs with shared functionality • structs can't inherit from structs • Unity](https://pbs.twimg.com/media/E6LPrGWWQAIeLaq.png:large)
Freya ✈ Unite Amsterdam • Nov 15-16 on X: "I just found a super nice C# trick for allocation free structs with shared functionality • structs can't inherit from structs • Unity
![You can use extension methods to add functionality specific to a particular enum type. In our example we use an enum to define neighbors on a square tiled board. And we add You can use extension methods to add functionality specific to a particular enum type. In our example we use an enum to define neighbors on a square tiled board. And we add](https://preview.redd.it/polm9lbfwus51.png?auto=webp&s=8b6fc34c014099a4ba57ba3ac173af2e08208bc1)
You can use extension methods to add functionality specific to a particular enum type. In our example we use an enum to define neighbors on a square tiled board. And we add
![error CS1061 does not contain Position, says I am missing a directive or assembly reference ? - Questions & Answers - Unity Discussions error CS1061 does not contain Position, says I am missing a directive or assembly reference ? - Questions & Answers - Unity Discussions](https://europe1.discourse-cdn.com/unity/original/3X/7/d/7d67a075acc606b863cbfe220a2fcc18e116b91a.png)