void Awake() { playerControls = new PlayerControls(); //Sets players index and increases the index for next player PlayerIndex = GLOBAL.AddPlayerController(this); //gets the relevent color from players index PlayerColor = GLOBAL._PlayerColors[PlayerIndex]; /* Texture2D crosshair = (Texture2D)Resources.Load("Textures/Cross_Hair"); * Cursor.SetCursor(crosshair, Vector2.zer, CursorMode.ForceSoftware); */ }