#```cs
1 messages · Page 1 of 1 (latest)
I want to remove "this" specific mission on "that" list when "this" mission calls markSuccess()
Lists can't exist on a GameObject
it'd be in another script
ahh yes
You would need to either create a public method which allows you to remove an element from the list
or make the list itself public
and in either case you'll need a reference to that other script
I can reference to them but idk how to remove the specific mission
theList.Remove(theMission);
oh that's cool