Topic: (Any Version) CSS Player 2 Sprite Character Rotation
If your character selection screen is using character game object as a display mode, you may have noticed that player 2 needs to be rotated for sprite characters.
In defaultcharacterselectionscreen.cs look for
//this.gameObjectPlayer2 = GameObject.Instantiate(characterInfo.characterPrefab);
this.gameObjectPlayer2.transform.position = this.positionPlayer2;
this.gameObjectPlayer2.transform.localRotation = Quaternion.Euler(0f, -90f, 0f);
this.gameObjectPlayer2.transform.SetParent(this.transform, true);
Add this under that
// Use this to do stuff when player 2 has a SpriteRenderer
SpriteRenderer spriterendererPlayer2 = this.gameObjectPlayer2.GetComponent<SpriteRenderer>();
if (spriterendererPlayer2 != null)
{
this.gameObjectPlayer2.transform.localRotation = Quaternion.Euler(0f, -180f, 0f);
}
Result: