public Node_Switch(NodeSerializable serializable, Database.Loader loader) : base(serializable, loader) { Message = serializable.Message; DefaultTransition = UnityEngine.Mathf.Clamp(serializable.DefaultTransition, 0, 1000); Transitions = new ImmutableCollection <NodeTransition>(serializable.Transitions?.Select(item => NodeTransition.Create(item, loader))); OnDataDeserialized(serializable, loader); }