Interaktionen 2.0

This commit is contained in:
Simon Lübeß
2024-04-07 00:09:53 +02:00
parent 2f5f25d0bd
commit dfe1451d3b
42 changed files with 1691 additions and 222 deletions

View File

@ -0,0 +1,13 @@
using System.Collections.Generic;
using UnityEngine;
namespace Utility
{
public static class IReadonlyListExtension
{
public static T GetRandomElement<T>(this IReadOnlyList<T> list)
{
return list[Random.Range(0, list.Count)];
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: a37950394de44b8db5d8de3e9fd574a6
timeCreated: 1712430620