public IUpdating Create(GameObject target, IClassicHandlable dest, IClassicHandlable source) { DisplayUpdater updater = new DisplayUpdater(); updater.Start = source; updater.Finish = dest; updater.Target = target; return(updater); }
public static DisplayUpdater Create(GameObject target, IClassicHandlable dest, IClassicHandlable source) { DisplayUpdater updater = Pool <DisplayUpdater> .Pop(); updater.Start = source; updater.Finish = dest; updater.Target = target; return(updater); }