Correct typo

This commit is contained in:
Pascal Serrarens 2025-06-06 12:42:39 +02:00
parent ecf6fd5e11
commit 6dab2b70c9

View File

@ -128,7 +128,7 @@ namespace RoboidControl.Unity {
this.gameObject.name = core.name; this.gameObject.name = core.name;
break; break;
case ModelUrlMsg.Id: case ModelUrlMsg.Id:
Debug.Log("{this.id} Handle Model URL"); Debug.Log($"{this.core.id} Handle Model URL");
string extension = core.modelUrl[core.modelUrl.LastIndexOf(".")..]; string extension = core.modelUrl[core.modelUrl.LastIndexOf(".")..];
if (extension == ".jpg" || extension == ".png") if (extension == ".jpg" || extension == ".png")
StartCoroutine(LoadJPG()); StartCoroutine(LoadJPG());