/// ---------------------------------------------
/// Ultimate Character Controller
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
namespace Opsive.UltimateCharacterController.Networking.Traits
{
using UnityEngine;
///
/// Defines an object that can respawn over the network using the Respawner component.
///
public interface INetworkRespawnerMonitor
{
///
/// Does the respawn by setting the position and rotation to the specified values.
/// Enable the GameObject and let all of the listening objects know that the object has been respawned.
///
/// The respawn position.
/// The respawn rotation.
/// Was the position or rotation changed?
void Respawn(Vector3 position, Quaternion rotation, bool transformChange);
}
}