public static void UpdateModel(MainAggregate updatedAggregate) { try { FindAndUpdateModel(updatedAggregate); } catch (Exception ex) { StaticTrace.ExceptionLog(ex.Message, ex.StackTrace); } }
private static void FindAndUpdateModel(MainAggregate updatedAggregate) { GameObject.FindWithTag(TagKeys.MODEL_KEY).GetComponent <Aggregate>().Model = updatedAggregate; }
public SerializerRepository(MainAggregate aggregate) { this.Aggregate = aggregate; }