DOTweenEditor Contains compatibility methods taken from DemiEditor (for when DOTween is without it) Warning: some versions of this method don't have the includeInactive parameter so it won't be taken into account Warning: some versions of this method don't have the includeInactive parameter so it won't be taken into account Warning: some versions of this method don't have the includeInactive parameter so it won't be taken into account Warning: some versions of this method don't have the includeInactive parameter so it won't be taken into account Starts the update loop of tween in the editor. Has no effect during playMode. Eventual callback to call after every update Stops the update loop and clears the onPreviewUpdated callback. If TRUE also resets the tweened objects to their original state. Note that this works by calling Rewind on all tweens, so it will work correctly only if you have a single tween type per object and it wasn't killed If TRUE also kills any cached tween Readies the tween for editor preview by setting its UpdateType to Manual plus eventual extra settings. The tween to ready If TRUE (recommended) removes all callbacks (OnComplete/Rewind/etc) If TRUE prevents the tween from being auto-killed at completion If TRUE starts playing the tween immediately Full major version + first minor version (ex: 2018.1f) Major version First minor version (ex: in 2018.1 it would be 1) Checks that the given editor texture use the correct import settings, and applies them if they're incorrect. Returns TRUE if setup is required Returns TRUE if the file/directory at the given path exists. Path, relative to Unity's project folder Converts the given project-relative path to a full path, with backward (\) slashes). Converts the given full path to a path usable with AssetDatabase methods (relative to Unity's project folder, and with the correct Unity forward (/) slashes). Connects to a asset. If the asset already exists at the given path, loads it and returns it. Otherwise, either returns NULL or automatically creates it before loading and returning it (depending on the given parameters). Asset type File path (relative to Unity's project folder) If TRUE and the requested asset doesn't exist, forces its creation Full path for the given loaded assembly, assembly file included Adds the given global define if it's not already present Removes the given global define if it's present Returns TRUE if the given global define is present in all the or only in the given , depending on passed parameters. to use. Leave NULL to check in all of them. Not used as menu item anymore, but as a utiity function Full major version + first minor version (ex: 2018.1f) Major version First minor version (ex: in 2018.1 it would be 1)