Mini Galaxy Gen
Added flags to game manager and player settings to check tutorial status Created alternate galaxy generation process for tutorial
This commit is contained in:
parent
7cfc5cd04f
commit
b1bd89a687
224 changed files with 423 additions and 208 deletions
|
|
@ -1,18 +0,0 @@
|
|||
using System;
|
||||
namespace Ink.Runtime
|
||||
{
|
||||
// When looking up content within the story (e.g. in Container.ContentAtPath),
|
||||
// the result is generally found, but if the story is modified, then when loading
|
||||
// up an old save state, then some old paths may still exist. In this case we
|
||||
// try to recover by finding an approximate result by working up the story hierarchy
|
||||
// in the path to find the closest valid container. Instead of crashing horribly,
|
||||
// we might see some slight oddness in the content, but hopefully it recovers!
|
||||
public struct SearchResult
|
||||
{
|
||||
public Runtime.Object obj;
|
||||
public bool approximate;
|
||||
|
||||
public Runtime.Object correctObj { get { return approximate ? null : obj; } }
|
||||
public Container container { get { return obj as Container; } }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue