void Start()
 {
     player = GameObject.FindGameObjectWithTag("Player");
     playerScript = player.GetComponent<PlayerScriptDeven>();
     scrptInput = playerScript.scrptInput;
         // GameObject.FindGameObjectWithTag("GameManager").GetComponent<GameManager>();
 }
 // Use this for initialization
 void Start()
 {
     vOriginalScale = transform.localScale;
     scriptPSD = goMyPlayer.GetComponent<PlayerScriptDeven>();
 }
Exemple #3
0
 // Use this for initialization
 void Start()
 {
     vOriginalScale = transform.localScale;
     scriptPSD      = goMyPlayer.GetComponent <PlayerScriptDeven>();
 }