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