常用方法
常用方法
常用方法
常用方法
/// <summary> /// Attaches a player's camera to this GlobalObject. /// </summary> /// <param name="player">The player whose camera to attach to this GlobalObject.</param> public virtual void AttachCameraToObject(BasePlayer player) { if (player == null) { throw new ArgumentNullException(nameof(player)); } AssertNotDisposed(); Internal.AttachCameraToObject(player.Id, Id); }