$ 0 0 your ship variable(object reference really) is of typePrefabPlayerShip (because) ---> private PrefabPlayerShip ship;