Example #1
0
 protected void OnNodeRemoved(NodeData node)
 {
     if (Application.isPlaying && previousSelectedGameObject)
     {
         currentEditableConstellation.RemoveNode(node);
     }
 }
 protected void OnNodeRemoved(NodeData node)
 {
     if (Application.isPlaying && previousSelectedGameObject != null)
     {
         currentEditableConstellation.RemoveNode(node);
         ConstellationScript.IsDifferentThanSource = true;
     }
 }
Example #3
0
 protected void OnNodeRemoved(NodeData node)
 {
     if (node.Name == Constellation.ConstellationTypes.Tutorial.NAME)
     {
         ConstellationScript = ScriptDataService.ConvertToConstellationScript();
     }
     else if (node.Name == Constellation.ConstellationTypes.StaticConstellationNode.NAME)
     {
         ConstellationScript = ScriptDataService.ConvertToConstellationScript();
     }
     if (Application.isPlaying && previousSelectedGameObject != null && ConstellationScript.IsInstance)
     {
         currentEditableConstellation.RemoveNode(node);
         ConstellationScript.IsDifferentThanSource = true;
     }
 }