Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MyGlobal : ScriptableObject
- {
- public void initScopes()
- {
- Context con = Context.enter();
- con.initStandardObjects(this);
- Scriptable sharedscope =con.newObject(this);
- sharedscope.setParentScope(null);
- }
- ....
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement