private void AddDamageReferenceKey() { Vector2 pos = new Vector2(PD.IsLeftAlignedHUD()?-0.9f:0.9f, 0.0f); GameObject helper = GetGameObject(pos, "Damage Reference", Resources.Load <Sprite>(SpritePaths.GuideCircle + (PD.IsColorBlind()?SpritePaths.ColorblindSuffix:"")), false, "Reference"); helper.transform.localScale = new Vector2(0.8f, 0.8f); }
private void AddDamageReferenceKey(int numPlayers) { Vector2 pos = (numPlayers == 2)?new Vector2(0.0f, 0.35f):new Vector2(PD.IsLeftAlignedHUD()?-0.9f:0.9f, 0.7f); GameObject helper = GetGameObject(pos, "Damage Reference", Resources.Load <Sprite>(SpritePaths.GuideCircle + (PD.IsColorBlind()?SpritePaths.ColorblindSuffix:"")), false, "Reference"); if (numPlayers == 2) { helper.transform.localScale = new Vector2(0.75f, 0.75f); } }
protected Sprite[] GetTileSheet() { return(Resources.LoadAll <Sprite>(SpritePaths.TileBlock + (PD.IsColorBlind()?SpritePaths.ColorblindSuffix:""))); }