unity delegate事件委託

1.對於delegate,c#將對象之間的消息傳遞發揮到了極致,它相似於c++中的函數指針,可是delegate 能夠搭載更多的函數,而c++的函數指針只能引用一個函數。c++ 2.delegate能夠跨對象進行添加搭載。c# 3.一個delegate type的聲明在本質上是建立了一個新的subtype instance,該 subtype 派生自 .NET library framework
相關文章
相關標籤/搜索