Summary
Tries to get the script asset containing `type`.
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Editor - Containing Type
- UnityScripts
Syntax
public static MonoScript GetScript(Type type)
Parameters
| Name | Type | Description |
|---|---|---|
| type | Type |
Return Value
| Type | Description |
|---|---|
| MonoScript |