| DisableWithSceneManager Class |
Disables the game object the script is on if a scene manager is found.
Useful if you test scenes separately and need e.g. a camera which is normally
initialized in a root scene.
Inheritance Hierarchy SystemObject Object Component Behaviour MonoBehaviour Slash.Unity.Common.DiagnosticsDisableWithSceneManager
Namespace: Slash.Unity.Common.DiagnosticsAssembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax public class DisableWithSceneManager : MonoBehaviour
Public Class DisableWithSceneManager
Inherits MonoBehaviour
public ref class DisableWithSceneManager : public MonoBehaviour
type DisableWithSceneManager =
class
inherit MonoBehaviour
end
The DisableWithSceneManager type exposes the following members.
Constructors See Also