Esempio n. 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);
         }
     }
 }
		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);
				}
			}
		}
Esempio n. 3
0
 protected TestityEventBase()
 {
     this.m_Calls           = new TestityInvokableCallList();
     this.m_PersistentCalls = new TestityPersistentCallGroup();
     this.m_TypeName        = this.GetType().AssemblyQualifiedName;
 }