Skip to content

Commit

Permalink
null reference fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelday008 committed Feb 21, 2021
1 parent 252b44d commit 7aa4f67
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,18 @@ MonoBehaviour:
m_CharacterLimit: 0
m_OnEndEdit:
m_PersistentCalls:
m_Calls: []
m_Calls:
- m_Target: {fileID: 8132367837187297696}
m_MethodName: HandleEndEdit
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_OnSubmit:
m_PersistentCalls:
m_Calls: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ public void HandleClearTarget() {

public void SetMaterial(Color materialColor) {
//Debug.Log("FocusTargettingController.SetMaterial(" + (materialColor == null ? "null" : materialColor.ToString()) + ")");
if (SystemConfigurationManager.MyInstance == null) {
return;
}

/*
foreach (string tmpColor in colorDictionary.Keys) {
Debug.Log("Dictionary contains key: " + tmpColor.ToString());
Expand Down

0 comments on commit 7aa4f67

Please sign in to comment.