Created
June 18, 2021 13:00
-
-
Save tedliou/9a8bf78efd83dcb8aa593099921ce966 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var iReady = gameObject.FindInterfacesOfType<IReady>(); | |
foreach (var e in iReady) | |
{ | |
e.Ready(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment