Exemple #1
0
        /// <summary>
        /// called at first frame
        /// </summary>
        public void Start()
        {
            _radius = gameObject.renderer.bounds.size.x / 2;
            gameObject.renderer.enabled = false;

            ItemPrefabs = Datasheet.Items();

            if (!GameManager.GetInstance().NetworkController.IsClient)
            {
                StartCoroutine(Spawn());
            }
        }