Unity 教程:C# 委托(Delegate)使用
方式1public delegate void OnTouchDown();public static event OnTouchDown OnTouchedDown;OnTouchedDown += OnTouchDown;void OnTouchDown (TouchDirection td){}方式2public enum GameState{ Prepare...
原创
2020-03-26 00:33:25 ·
541 阅读 ·
0 评论