Пример #1
0
        /// <summary>
        /// deprecated
        /// </summary>
        /// <param name="parent"></param>
        /// <returns></returns>
        public TurretBaseAbs AddNewWithParent(Transform parent)
        {
            TurretBaseAbs newTurret = AddNewTurret();

            newTurret.SetParentTransform(parent);

            return(newTurret);
        }
Пример #2
0
        /// <summary>
        /// deprecated
        /// </summary>
        /// <returns></returns>
        public TurretBaseAbs AddNewTurret()
        {
            TurretBaseAbs newTurret = TurretPlant.AddCannonTurret();

            TurretList.Add(newTurret);

            return(newTurret);
        }