示例#1
0
        private void Start()
        {
            orig_Start();
            GameObject obj       = new GameObject();
            L2Rando    component = obj.AddComponent <L2Rando>() as L2Rando;

            component.Initialise(this.l2sdb, this.l2tdb, this);
            DontDestroyOnLoad(obj);
        }
示例#2
0
 public void Initialise(L2Rando l2rando, L2System l2System)
 {
     rando          = l2rando;
     sys            = l2System;
     Cursor.visible = true;
 }