protected virtual void DamageSystemOrcClickedHandler(Matze.OrcClicked data, Health clickedorc) { var handler = DamageSystemOrcClickedHandlerInstance; handler.System = this; handler.Event = data; handler.clickedOrc = clickedorc; StartCoroutine(handler.Execute()); }
protected void DamageSystemOrcClickedFilter(Matze.OrcClicked data) { var clickedOrcHealth = HealthManager[data.clickedOrc]; if (clickedOrcHealth == null) { return; } if (!clickedOrcHealth.Enabled) { return; } this.DamageSystemOrcClickedHandler(data, clickedOrcHealth); }
public virtual System.Collections.IEnumerator Execute() { ActionNode10_message = StringNode11; // ActionNode while (this.DebugInfo("2765c9ed-2821-4b2a-ac06-83f6ece5e855", "85661589-9238-40f7-b8a3-8df48ab0a5d2", this) == 1) { yield return(null); } // Visit uFrame.ECS.Actions.DebugLibrary.LogMessage uFrame.ECS.Actions.DebugLibrary.LogMessage(ActionNode10_message); // PublishEventNode while (this.DebugInfo("85661589-9238-40f7-b8a3-8df48ab0a5d2", "d2545072-59e1-4a15-8a17-e19c6c7464e0", this) == 1) { yield return(null); } var PublishEventNode18_Event = new OrcClicked(); PublishEventNode18_Event.clickedOrc = Source.EntityId; System.Publish(PublishEventNode18_Event); PublishEventNode18_Result = PublishEventNode18_Event; yield break; }