// Use this for initialization void Start() { myPC = GetComponentInParent <projectilecontroller>(); }
// Start is called before the first frame update void Awake() { myPC = GetComponentInParent <projectilecontroller>(); }