61 [AttributeUsage(AttributeTargets.Class, AllowMultiple =
false, Inherited =
false)]
67 public ScriptRole ScriptRole
69 get {
return _scriptRole; }
72 ScriptRole _scriptRole;
80 _scriptRole = scriptRole;
ScriptAttribute(ScriptRole scriptRole)
Marks a MonoBehaviour as a game script.
Marks a MonoBehaviour as a game script with a given script role.