public void LogWarningFormat(Object context, string format, params object[] args) { typeOfLog = "Warning!\t"; DelegateForFormatedTextAndObj = Debug.LogWarningFormat; LogicOfChooseTypeOfLog(context, format, args); }
public void LogAssertionFormat(Object context, string format, params object[] args) { typeOfLog = "Warning!\t"; DelegateForFormatedTextAndObj = delegate(Object cont, string form, object[] arg) { Debug.LogAssertionFormat(context, format, args); }; LogicOfChooseTypeOfLog(context, format, args); }
public void LogAssertionFormat(Object context, string format, params object[] args) { typeOfLog = "Warning!\t"; DelegateForFormatedTextAndObj = delegate (Object cont ,string form, object[] arg) { Debug.LogAssertionFormat(context,format, args); }; LogicOfChooseTypeOfLog(context, format, args); }