added comment for future enhancement

This commit is contained in:
FreezeDriedMangoes 2022-05-25 17:44:05 -04:00
parent 5cc232ee8c
commit 0955bda3f6

View File

@ -327,6 +327,10 @@ namespace NewHorizons.Utility
public class ImageLoadedEvent : UnityEvent<Texture2D, int> { }
public ImageLoadedEvent imageLoadedEvent = new ImageLoadedEvent();
// TODO: set up an optional “StartLoading” and “StartUnloading” condition on AsyncTextureLoader,
// and make use of that for at least for projector stuff (require player to be in the same sector as the slides
// for them to start loading, and unload when the player leaves)
void Start()
{
for (int i = 0; i < pathsToLoad.Count; i++)