public void Start() { canShoot = true; originalOrientation = turret.transform.rotation; master = GetComponentInParent <SpawnableGO>(); pView = GetComponent <PhotonView>(); }
public void Start() { parentSpawnable = GetComponent <SpawnableGO>(); }
private void Awake() { master = GetComponentInParent <SpawnableGO>(); pView = GetComponent <PhotonView>(); }