public PlayerSetMovements(Transform transform, GameObject gameObject, PlayerMove move, PlayerRotate rotate, PlayerFall fall, PlayerAnimator animations, PlayerRespawn respawner, GameObject water_effect) { this.transform = transform; this.gameObject = gameObject; this.move = move; this.rotate = rotate; this.fall = fall; this.animations = animations; this.respawner = respawner; this.water_effect = water_effect; is_falling = false; extra_movement_speed = 0; previous_ray = new RaycastHit(); previous_ray_exist = false; speed_boost = 1f; }
public PlayerRespawn(PlayerAnimator animator, GameObject death_effect) { this.animator = animator; this.death_effect = death_effect; player_death = false; }
public PlayerMove(Transform transform, PlayerAnimator animations) { this.transform = transform; this.animations = animations; is_moving = false; }
public PlayerFall(Transform transform, PlayerAnimator animations) { this.transform = transform; this.animations = animations; }