summaryrefslogtreecommitdiff
path: root/GameCode/SpawnedAttack_ParentPlayer.cs
blob: f77247f83fa78883f799e6a28a128e93e977cf85 (plain)
1
2
3
4
5
6
7
8
9
using UnityEngine;

public class SpawnedAttack_ParentPlayer : MonoBehaviour
{
	private void Start()
	{
		GetComponent<SpawnedAttack>().spawner = GetComponentInParent<Player>();
	}
}