public void CallAction_Sync() { if (HeldObject != null) { if (HeldObject.GetComponent <UnitActions>() == true) { UnitActions actions = HeldObject.GetComponent <UnitActions>(); if (actions.ActionAvailable) { Debug.Log("SYNCHRONISING!!! Does nothing"); actions.Action_Synch(); Cancel(); } } } }