public bool CheckOrigin(Transform t) { bool ok = this.transform.root != t; if(ok && this.combatant != null && this.combatant.prefabInstance != null) { ok = this.combatant.prefabInstance.transform.root != t; } return ok; }