Jmenovka
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Steamworks;
|
||||
using UnityEngine;
|
||||
using MegaKoop.Game.UI;
|
||||
|
||||
namespace MegaKoop.Game.Networking
|
||||
{
|
||||
@@ -84,6 +85,12 @@ namespace MegaKoop.Game.Networking
|
||||
|
||||
remoteTargetPosition = rootTransform.position;
|
||||
remoteTargetRotation = rootTransform.rotation;
|
||||
var nameTag = GetComponent<SteamNameTag>();
|
||||
if (nameTag == null)
|
||||
{
|
||||
nameTag = gameObject.AddComponent<SteamNameTag>();
|
||||
}
|
||||
nameTag.SetFollowHead(null, this);
|
||||
}
|
||||
|
||||
private void Start()
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user