// Use this for initialization public void Start() { CurrentKeySequence = new List<SequenceItem>(); IsRecording = false; isPressingKey = false; startedRecodingTime = 0; var gameControl = GetComponentInParent<GameControl>(); if (gameControl == null) { Debug.LogError("Invalid GameControl Set"); return; } player1 = gameControl.Player1; player2 = gameControl.Player2; }
private void Awake() { m_PlayerManager = new Assets.Scripts.PlayerManager(); }