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); }
public void Initialise(L2Rando l2rando, L2System l2System) { rando = l2rando; sys = l2System; Cursor.visible = true; }