Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     instance      = this;
     banterGen     = new BanterGenerator();
     currentPlayer = spriteGenerator.createNewPlayer();
     cam           = Camera.main.GetComponentInParent <CameraFollow>();
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     instance       = this;
     banterGen      = new BanterGenerator();
     currentPlayer  = spriteGenerator.createNewPlayer();
     cam            = Camera.main.GetComponentInParent <CameraFollow>();
     cam.target     = currentPlayer.transform;
     Cursor.visible = false;
 }