private static bool ValidateMenuLoadTimeline() { TextAsset asset = Selection.activeObject as TextAsset; if (asset != null) { return(SerializeConverter.DoesAssetContainObject <NodeGraph>(asset)); } return(false); }
private static bool ValidateMenuLoadTimeline() { TextAsset asset = Selection.activeObject as TextAsset; if (asset != null && !asset.name.StartsWith("TextConv")) { return(SerializeConverter.DoesAssetContainObject <TimelineStateMachine>(asset)); } return(false); }