trouble-in-terror-town/Assets/Scripts/Player/Character/PlayerGhostReffrenceHub.cs
Mikolaj 2bbacbea09 did some more work on networking and removed EOS in favor of LRM
did some more work on networking and removed EOS in favor of Light Reflective Mirror
2022-05-31 15:04:31 +02:00

27 lines
No EOL
954 B
C#

using System.Collections.Generic;
using UnityEngine;
namespace TTTSC.Player.Character
{
public class PlayerGhostReffrenceHub : MonoBehaviour
{
[Header("-----------Misc------------")]
public Rigidbody characterRigidbody;
public Transform cameraTransform;
public PlayerCharacterInfo.PlayerCharacterInfoData playerInfoData;
[Header("----------Scripts-----------")]
public PlayerStateEnforcer playerStateEnforcrer;
public PlayerStateMachine playerStateMachine;
public Controller.PlayerInputReceiver playerInputReceiver;
public GameManager gameManager;
public RoundSystem roundSystem;
void Awake()
{
playerInfoData = ScriptableObject.CreateInstance<PlayerCharacterInfo.PlayerCharacterInfoData>();
gameManager = FindObjectOfType<GameManager>();
roundSystem = FindObjectOfType<RoundSystem>();
}
}
}