コード例 #1
0
        public static void UnregisterPersistentListeners(this UnityEventBase self)
        {
            var count = self.GetPersistentEventCount();

            for (var i = 0; i < count; ++i)
            {
                UnityEventTools.UnregisterPersistentListener(self, i);
            }
        }
コード例 #2
0
 public static void UnregisterPersistentListener(this UnityEventBase self, int index)
 {
     UnityEventTools.UnregisterPersistentListener(self, index);
 }