Пример #1
0
 // Use this for initialization
 void Start()
 {
     playerVelocity    = ((PlayerScript)((GameObject.FindWithTag("Player")).GetComponent("PlayerScript"))).velocity;
     lmcPlayerControls = (LMC_PlayerControls)GameObject.FindWithTag("LMC").GetComponent <LMC_PlayerControls>();
     //Screen.showCursor = false;
     //Screen.lockCursor = true;
 }
 // Use this for initialization
 void Start()
 {
     playerVelocity = ((PlayerScript)( (GameObject.FindWithTag("Player")).GetComponent("PlayerScript"))).velocity;
     lmcPlayerControls = (LMC_PlayerControls)GameObject.FindWithTag("LMC").GetComponent<LMC_PlayerControls>();
     //Screen.showCursor = false;
     //Screen.lockCursor = true;
 }