this post was submitted on 02 Jul 2023
2 points (100.0% liked)

Unity

427 readers
1 users here now

founded 1 year ago
MODERATORS
 

The whole idea of interfaces finally clicked and I'm starting to see how useful they are for introducing possibilities of emergent gameplay. I might be addicted.

Oh yeah, and hi - just found this place. Looks pretty cool so far. (RIP RIF)

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago

I feel like I'm on the verge of the same revelation but not quite getting there. What was the tipping point for you?

Given every script that inherits the interface needs to provide its own method still, it feels like there's always an alternative to using interfaces to me but I'm sure I'm not seeing the full picture. It does also feel odd to have a floating c# script that isn't attached to anything for the interface itself. I always wonder how exactly Unity/the game knows of its existence but I guess it's keeping a track of every file in the project folder(s).