Added project

This commit is contained in:
2023-06-11 00:35:07 +03:00
parent 5bfa765889
commit f06629200c
545 changed files with 44339 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
using UnityEngine;
using Random = UnityEngine.Random;
public class Hw2P4 : MonoBehaviour {
public SpriteRenderer[] spriteRenderers;
// Start is called before the first frame update
void Start() {
foreach (var spriteRenderer in spriteRenderers) {
spriteRenderer.color = new Color(Random.value, Random.value, Random.value, 1f);
}
}
}