Skip to content
This repository has been archived by the owner on Feb 5, 2018. It is now read-only.

Commit

Permalink
Removal of lingering compile warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashbash1987 committed Apr 13, 2017
1 parent cceee30 commit 72e4c55
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion Assets/Scripts/Commanders/BombBinderCommander.cs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ private IEnumerator ForceHeldRotation(float duration)
public readonly MonoBehaviour Selectable = null;
public readonly MonoBehaviour FloatingHoldable = null;
private readonly MonoBehaviour SelectableManager = null;
private readonly CoroutineCanceller CoroutineCanceller = null;
#endregion

#region Private Static Fields
Expand Down
3 changes: 0 additions & 3 deletions Assets/Scripts/Commanders/BombCommander.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,6 @@ public IEnumerator ShowEdgework()
yield return holdCoroutine.Current;
}

Transform baseTransform = (Transform)_getBaseHeldObjectTransformMethod.Invoke(SelectableManager, null);

float initialZSpin = _heldFrontFace ? 0.0f : 180.0f;

IEnumerator firstEdge = DoFreeRotate(initialZSpin, 0.0f, 90.0f, 0.0f, 0.3f);
Expand Down Expand Up @@ -311,7 +309,6 @@ private IEnumerator DoFreeRotate(float initialZSpin, float initialPitch, float t
public readonly MonoBehaviour Selectable = null;
public readonly MonoBehaviour FloatingHoldable = null;
private readonly MonoBehaviour SelectableManager = null;
private readonly CoroutineCanceller CoroutineCanceller = null;
#endregion

#region Private Static Fields
Expand Down
3 changes: 0 additions & 3 deletions Assets/Scripts/Commanders/FreeplayCommander.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ static FreeplayCommander()

_selectableType = ReflectionHelper.FindType("Selectable");
_handleSelectMethod = _selectableType.GetMethod("HandleSelect", BindingFlags.Public | BindingFlags.Instance);
_handleDeselectMethod = _selectableType.GetMethod("HandleDeselect", BindingFlags.Public | BindingFlags.Instance);
_onInteractEndedMethod = _selectableType.GetMethod("OnInteractEnded", BindingFlags.Public | BindingFlags.Instance);

_selectableManagerType = ReflectionHelper.FindType("SelectableManager");
Expand Down Expand Up @@ -301,7 +300,6 @@ private IEnumerator ForceHeldRotation(float duration)
public readonly MonoBehaviour Selectable = null;
public readonly MonoBehaviour FloatingHoldable = null;
private readonly MonoBehaviour SelectableManager = null;
private readonly CoroutineCanceller CoroutineCanceller = null;
#endregion

#region Private Static Fields
Expand Down Expand Up @@ -329,7 +327,6 @@ private IEnumerator ForceHeldRotation(float duration)

private static Type _selectableType = null;
private static MethodInfo _handleSelectMethod = null;
private static MethodInfo _handleDeselectMethod = null;
private static MethodInfo _onInteractEndedMethod = null;

private static Type _selectableManagerType = null;
Expand Down
2 changes: 2 additions & 0 deletions Assets/Scripts/Helpers/InputInterceptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public static void EnableInput()
}
catch (Exception ex)
{
Debug.LogException(ex);
}
}
}
Expand All @@ -33,6 +34,7 @@ public static void DisableInput()
}
catch (Exception ex)
{
Debug.LogException(ex);
}
}
}
Expand Down

0 comments on commit 72e4c55

Please sign in to comment.