public static GameObject GetGameObject(this IBehaviorContext ctx, string key = null) { key = key ?? "gameObject"; return(ctx.GetItem <GameObject>(key)); }