Beispiel #1
0
 public override INode AddNode(string name, Parameters parameters, Vector3 position = default(Vector3), Color colour = default(Color))
 {
     if (_currentlyRecording)
     {
         lock (_modelWriter) {
             if (!_beingLogged)
             {
                 _beingLogged = true;
                 INode ret = _recordingBase.AddNode(name, parameters, position, colour);
                 _beingLogged = false;
                 return(ret);
             }
         }
     }
     return(base.AddNode(name, parameters, position, colour));
 }
 public INode AddNode(string name, Parameters parameters, Vector3 position = default(Vector3), Color colour = default(Color))
 {
     return(_control.AddNode(name, parameters, position, colour));
 }