#```cs

1 messages · Page 1 of 1 (latest)

dawn bramble
#

I want to remove "this" specific mission on "that" list when "this" mission calls markSuccess()

gilded sapphire
#

it'd be in another script

dawn bramble
gilded sapphire
#

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

dawn bramble
#

I can reference to them but idk how to remove the specific mission

gilded sapphire
#

theList.Remove(theMission);

dawn bramble
#

oh that's cool