/// <sumarry> // This method is executed when using this.Publish(new StartAssetLoadingCommand()) /// </sumarry> public override void StartAssetLoadingCommandHandler(StartAssetLoadingCommand data) { base.StartAssetLoadingCommandHandler(data); // Process the commands information. Also, you can publish new events by using the line below. // this.Publish(new AnotherEvent()) StartCoroutine(LoadAssets()); }
/// <summary> // This method is executed when using this.Publish(new StartAssetLoadingCommand()) /// </summary> public virtual void StartAssetLoadingCommandHandler(StartAssetLoadingCommand data) { // Process the commands information. Also, you can publish new events by using the line below. // this.Publish(new AnotherEvent()) }
/// <summary> // This method is executed when using this.Publish(new StartAssetLoadingCommand()) /// </summary> public virtual void StartAssetLoadingCommandHandler(StartAssetLoadingCommand data) { // Process the commands information. Also, you can publish new events by using the line below. // this.Publish(new AnotherEvent()) }
public virtual void StartAssetLoadingCommandHandler(StartAssetLoadingCommand data) { }
/* * This method handles StartAssetLoadingCommand. * Even though StartAssetLoadingCommand is just another event, it has a bit different name. * This is because we use this event to invoke asset loading procedure. Thus, Command is * an appropriate name for such an event. */ public override void StartAssetLoadingCommandHandler(StartAssetLoadingCommand data) { base.StartAssetLoadingCommandHandler(data); StartCoroutine(LoadAssets()); }
/* * This method handles StartAssetLoadingCommand. * Even though StartAssetLoadingCommand is just another event, it has a bit different name. * This is because we use this event to invoke asset loading procedure. Thus, Command is * an appropriate name for such an event. */ public override void StartAssetLoadingCommandHandler(StartAssetLoadingCommand data) { base.StartAssetLoadingCommandHandler(data); StartCoroutine(LoadAssets()); }