edit: attempted polish but failed
This commit is contained in:
		
							parent
							
								
									d59a00fdd3
								
							
						
					
					
						commit
						0001809418
					
				
					 58 changed files with 11705 additions and 140 deletions
				
			
		|  | @ -20,7 +20,6 @@ public class BoardUIScript : MonoBehaviour | |||
|     [SerializeField] private TextMeshPro warningTMP; | ||||
|     [SerializeField] private GameObject warningOBJ; | ||||
|     [SerializeField] private GameObject comboOBJ; | ||||
|     [SerializeField] private int playerIndex; | ||||
|     [SerializeField] private float scoreJumpDistance = 0.25f; | ||||
|     [SerializeField] private float scoreJumpTime = 0.5f; | ||||
|     [SerializeField] private float comboUITimer = 3f; | ||||
|  | @ -33,7 +32,7 @@ public class BoardUIScript : MonoBehaviour | |||
|         if (!initialized) | ||||
|         { | ||||
|             //initialization code here | ||||
|             titleTMP.text = "Player " + playerIndex; | ||||
|             titleTMP.text = "Player"; | ||||
|             scoreTMP.text = "0"; | ||||
|             comboTMP.text = "x0"; | ||||
|             warningTMP.text = "x0"; | ||||
|  | @ -101,6 +100,11 @@ public class BoardUIScript : MonoBehaviour | |||
|         warningTMP.transform.LeanMoveLocalY(warningTextOriginY + scoreJumpDistance, scoreJumpTime).setLoopPingPong(1).setEase(LeanTweenType.easeOutQuad).setOnComplete(() => warningTMP.transform.LeanMoveLocalY(warningTextOriginY, 0)); | ||||
|     } | ||||
| 
 | ||||
|     public void SetPlayerName(string value) | ||||
|     { | ||||
|         titleTMP.text = value; | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue