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