Home
Manual
Reference
Scripting
Scripting Reference
MonoScript
.FromMonoBehaviour
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
MonoScript
All Members
Functions
GetClass
Class Functions
FromMonoBehaviour
FromScriptableObject
Inherited Variables
bytes
hideFlags
name
text
Inherited Functions
GetInstanceID
ToString
Inherited Class Functions
Destroy
DestroyImmediate
DontDestroyOnLoad
FindObjectOfType
FindObjectsOfType
Instantiate
operator !=
operator ==
operator bool
static
function
FromMonoBehaviour (behaviour :
MonoBehaviour
) : MonoScript
Parameters
Name
Description
behaviour
The MonoBehaviour whose MonoScript should be returned
Description
Returns the MonoScript object containing specified MonoBehaviour