public override void Configure(GameObject gameObject)
        {
            //Configure game object:
            this.OnConfigure(gameObject);

            //Make object online:
            var hash128 = NetworkHash128.Parse(this.SpawnId);

            OregoNetworkUtils.SpawnObject(gameObject, hash128);
        }
Exemplo n.º 2
0
        public override GameObject Create()
        {
            //Create object:
            var gameObject = base.Create();

            //Make object online:
            var hash128 = NetworkHash128.Parse(this.SpawnId);

            OregoNetworkUtils.SpawnObject(gameObject, hash128);
            return(gameObject);
        }