![Changing some enums to scriptable objects · Issue #264 · Unity -Technologies/com.unity.multiplayer.samples.coop · GitHub Changing some enums to scriptable objects · Issue #264 · Unity -Technologies/com.unity.multiplayer.samples.coop · GitHub](https://user-images.githubusercontent.com/13554990/113936436-6d884080-9800-11eb-9308-24f3f54103f6.png)
Changing some enums to scriptable objects · Issue #264 · Unity -Technologies/com.unity.multiplayer.samples.coop · GitHub
![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
![unity - How can I pass an enum value to the OnClick method of a button? - Game Development Stack Exchange unity - How can I pass an enum value to the OnClick method of a button? - Game Development Stack Exchange](https://i.stack.imgur.com/q7jVv.png)
unity - How can I pass an enum value to the OnClick method of a button? - Game Development Stack Exchange
![unity game engine - How do I replace a switch statement over an enum with runtime-dynamic type-based generic dispatch in C#? - Stack Overflow unity game engine - How do I replace a switch statement over an enum with runtime-dynamic type-based generic dispatch in C#? - Stack Overflow](https://i.stack.imgur.com/8pdPo.png)