I hear that in order to load an embedded resource in C#, you use something similar to the following code:
var assembly = Assembly.GetExecutingAssembly();
var resource = thatAssembly.GetManifestResourceStream("resource.name.here");
This works on PC; however, if I attempt to call Assembly.GetCallingAssembly()
while running my game on Android, I get the following exception:
System.NotSupportedException: 'Assembly.GetCallingAssembly is not supported on target framework.'
What can I do to resolve this? Is it an API level issue?