protected void OnNodeAdded(NodeData node) { if (Application.isPlaying && previousSelectedGameObject != null) { currentEditableConstellation.AddNode(node); } }
protected void OnNodeAdded(NodeData node) { if (Application.isPlaying && previousSelectedGameObject != null) { currentEditableConstellation.AddNode(node); ConstellationScript.IsDifferentThanSource = true; } }
protected void OnNodeAdded(NodeData node) { if (node.Name == Constellation.ConstellationTypes.Tutorial.NAME) { ConstellationScript = ScriptDataService.ConvertCurrentConstellationToTutorial(); } else if (node.Name == Constellation.ConstellationTypes.StaticConstellationNode.NAME) { ConstellationScript = ScriptDataService.ConvertToConstellationNodeScript(); } if (Application.isPlaying && previousSelectedGameObject != null && ConstellationScript.IsInstance) { currentEditableConstellation.AddNode(node); ConstellationScript.IsDifferentThanSource = true; } }