Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. public class MyGlobal : ScriptableObject
  2. {
  3. public void initScopes()
  4. {
  5. Context con = Context.enter();
  6. con.initStandardObjects(this);
  7. Scriptable sharedscope =con.newObject(this);
  8. sharedscope.setParentScope(null);
  9. }
  10. ....
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement