Ejemplo n.º 1
0
        private void Start()
        {
            //select.onUse += OnUse;
            select.RemoveGroup(fire_group);
            buildable.onBuild += OnBuild;

            if (!construction.was_spawned && !buildable.IsBuilding())
            {
                fuel = start_fuel;
            }
            if (PlayerData.Get().HasCustomValue(GetFireUID()))
            {
                fuel = PlayerData.Get().GetCustomValue(GetFireUID());
            }
        }