public static MonoScript FromMonoBehaviour (MonoBehaviour behaviour);

파라미터

behaviourThe MonoBehaviour whose MonoScript should be returned.

설명

Returns the MonoScript object containing specified MonoBehaviour.