コード例 #1
0
 public void Initialize(TestityInvokableCallList invokableList, TestityEventBase unityEventBase)
 {
     foreach (TestityPersistentCall mCall in this.m_Calls)
     {
         if (mCall.IsValid())
         {
             TestityBaseInvokableCall runtimeCall = mCall.GetRuntimeCall(unityEventBase);
             if (runtimeCall == null)
             {
                 continue;
             }
             invokableList.AddPersistentInvokableCall(runtimeCall);
         }
     }
 }
コード例 #2
0
		public void Initialize(TestityInvokableCallList invokableList, TestityEventBase unityEventBase)
		{
			foreach (TestityPersistentCall mCall in this.m_Calls)
			{
				if (mCall.IsValid())
				{
					TestityBaseInvokableCall runtimeCall = mCall.GetRuntimeCall(unityEventBase);
					if (runtimeCall == null)
					{
						continue;
					}
					invokableList.AddPersistentInvokableCall(runtimeCall);
				}
			}
		}
コード例 #3
0
 protected TestityEventBase()
 {
     this.m_Calls           = new TestityInvokableCallList();
     this.m_PersistentCalls = new TestityPersistentCallGroup();
     this.m_TypeName        = this.GetType().AssemblyQualifiedName;
 }