public ContextualStream() : base(AccessContext.Create( CsScopeLogic.Default, CsScopeLogic.CompleteScope), factory) { state = new streamData(); }
/// <summary> /// Add streaming objects at run time. /// TODO: This is trickier than it looks. /// Have to coordinate server and client. /// Prefer adding directly to the list in the editor. /// </summary> /// <param name="g">Gameobject to add</param> public void AddStreamingObject(GameObject g) { streamData s = new streamData(); s.gameObject = g; s.type = objectsToStream.Count; objectsToStream.Add(s); }
private ContextualStream(ContextualStream <T> parentContextual, IAccessContext <CSScope> context) : base(context, factory) { state = parentContextual.state; }