本子查找项目中的引用

作者:云顶最新线路检测

先看源代码

方法一:

[ipv4地址一共三十七位]云顶游戏网站 ,,用点分十进制表示,每二个局地是8位。子网掩码有二种表示:

NLTK 入门

文档

/* NSObjCRuntime.h Copyright  1994-2012, Apple Inc. All rights reserved.*/#ifndef _OBJC_NSOBJCRUNTIME_H_#define _OBJC_NSOBJCRUNTIME_H_#include <TargetConditionals.h>#include <objc/objc.h>#if __LP64__ || (TARGET_OS_EMBEDDED && !TARGET_OS_IPHONE) || TARGET_OS_WIN32 || NS_BUILD_32_LIKE_64typedef long NSInteger;typedef unsigned long NSUInteger;#elsetypedef int NSInteger;typedef unsigned int NSUInteger;#endif#define NSIntegerMax LONG_MAX#define NSIntegerMin LONG_MIN#define NSUIntegerMax ULONG_MAX#define NSINTEGER_DEFINED 1#ifndef NS_DESIGNATED_INITIALIZER#if __has_attribute(objc_designated_initializer)#define NS_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))#else#define NS_DESIGNATED_INITIALIZER#endif#endif#endif
using UnityEngine;using System.Collections;using UnityEditor;using System.IO;using System.Linq;using System.Text;using System.Text.RegularExpressions;using System.Collections.Generic; public class FindReferences{ [MenuItem("Assets/Find References", false, 10)] static private void Find() { EditorSettings.serializationMode = SerializationMode.ForceText; string path = AssetDatabase.GetAssetPath(Selection.activeObject); if (!string.IsNullOrEmpty { string guid = AssetDatabase.AssetPathToGUID; List withoutExtensions = new List(){".prefab",".unity",".mat",".asset"}; string[] files = Directory.GetFiles(Application.dataPath, "*.*", SearchOption.AllDirectories) .Where(s => withoutExtensions.Contains(Path.GetExtension.ToLower.ToArray(); int startIndex = 0; EditorApplication.update = delegate() { string file = files[startIndex]; bool isCancel = EditorUtility.DisplayCancelableProgressBar("匹配资源中", file, startIndex / files.Length); if (Regex.IsMatch(File.ReadAllText, guid)) { Debug.Log(file, AssetDatabase.LoadAssetAtPath<Object>(GetRelativeAssetsPath; } startIndex++; if (isCancel || startIndex >= files.Length) { EditorUtility.ClearProgressBar(); EditorApplication.update = null; startIndex = 0; Debug.Log; } }; } } [MenuItem("Assets/Find References", true)] static private bool VFind() { string path = AssetDatabase.GetAssetPath(Selection.activeObject); return (!string.IsNullOrEmpty; } static private string GetRelativeAssetsPath(string path) { return "Assets" + Path.GetFullPath.Replace(Path.GetFullPath(Application.dataPath), "").Replace('\', '/'); }}

第一种:

ip: 192.168.1.3

本子查找项目中的引用。mask:255.255.255.0

Python 同盟学习第三日

本文由云顶最新线路检测发布,转载请注明来源

关键词: