This commit is contained in:
2025-10-26 00:46:03 +05:00
parent ca7652ee7a
commit 2b7b6d5f42
5 changed files with 217 additions and 7 deletions

View File

@@ -2,15 +2,11 @@ using UnityEngine;
public class test : MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
[SerializeField] private GameObject player;
[SerializeField] private Material newMaterial;
void Start()
{
player.GetComponent<MeshRenderer>().material = newMaterial;
}
// Update is called once per frame
void Update()
{
}
}