Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     //REMOVE BEFORE INTENSIVE TESTING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     //Also turn vsync on, this is used so I can see the delay scripts create
     Application.targetFrameRate = 65;
     handlerBuilding             = player.GetComponent <HandlerBuilding>();
     playermovement = player.GetComponent <PlayerMovement>();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     //REMOVE BEFORE INTENSIVE TESTING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     //Also turn vsync on, this is used so I can see the delay scripts create
     Application.targetFrameRate = 65;
     handlerBuilding = player.GetComponent<HandlerBuilding>();
     playermovement = player.GetComponent<PlayerMovement>();
 }