public bool PossesOject(PlayerMovement player, TriggerObject obj) { if (!thingIsPosses) { player.AllowMoving(false); player.PossesionCooldown(); player.SetPositionTo(obj.ObjectPosition()); audioSource.Play(); possesedObject = obj; MyBody.SetActive(false); obj.Posses(); thingIsPosses = true; WindowManager.instance.SetPossessionOptions(true, obj.ObjectPosition()); return(true); } return(false); }