private Material GetCurrentHistoryMaterial() { historyGraphMode = (HistoryGraphType)curHistoryGraphModeIndex; if (historyGraphMode == HistoryGraphType.HistoryAvgGenomes) { //Debug.Log ("GetCurrentHistoryMaterial() HistoryGraphType.HistoryAvgGenomes"); return(matHistoryAvgGenomes); } else if (historyGraphMode == HistoryGraphType.HistoryAgentGenomes) { //Debug.Log ("GetCurrentHistoryMaterial() HistoryGraphType.HistoryAgentGenomes"); return(matHistoryAgentGenomes); } else { Debug.Log("NO HISTORY GRAPH TYPE"); return(matHistoryAvgGenomes); } }
private Material GetCurrentHistoryMaterial() { historyGraphMode = (HistoryGraphType)curHistoryGraphModeIndex; if(historyGraphMode == HistoryGraphType.HistoryAvgGenomes) { //Debug.Log ("GetCurrentHistoryMaterial() HistoryGraphType.HistoryAvgGenomes"); return matHistoryAvgGenomes; } else if(historyGraphMode == HistoryGraphType.HistoryAgentGenomes) { //Debug.Log ("GetCurrentHistoryMaterial() HistoryGraphType.HistoryAgentGenomes"); return matHistoryAgentGenomes; } else { Debug.Log ("NO HISTORY GRAPH TYPE"); return matHistoryAvgGenomes; } }