text
stringlengths
13
6.01M
using UnityEngine; public class InitCameraFollowToCurrentCarScript : MonoBehaviour { void Start() { foreach (var item in GetComponents<IFollowScript>()) item.SetFollowTarget(SteeringScript.MainInstance.transform); } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using DevExpress.XtraEditors; using Kadastr.Data.Model; using Kadastr.Data.DB; namespace Kadastr.View.Fo...
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.Extensions.Logging; using YH.SAAS.Domain; namespace DemoEF.Domain.Models { public partial class db_lj_orderContext : DbContext { public db_lj_orderContext() { } pub...
using UnityEngine; namespace ECS.Hybrid.Components{ public class PlayerHitComponent : MonoBehaviour{ public bool isHit = false; } }
using FamilyAccounting.Web.Models; using System.Threading.Tasks; namespace FamilyAccounting.Web.Interfaces { public interface ICardWebService { public Task<CardViewModel> Create(CardViewModel card); public Task<int> Delete(int id); public Task<CardViewModel> Get(int id); publi...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SplashScreenManager : MonoBehaviour { float timer; void Start() { timer = 6; } void Update() { timer -= Time.deltaTime; if (timer < 0) { if (PlayerPref...
using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; using System.Threading.Tasks; using TechEval.CommandHandlers.Validators; using TechEval.Commands; using TechEval.Commands.Results; using TechEval.Core; using TechEval.DataContext; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Common.Utils; using Common.RSSService; using System.ComponentModel; namespace Common.DataModel { public class ErrorDataModel : BindableObject { #region Singleton static private ErrorDataModel instance =...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp6 { class Pepsi : ColdDrink { public override string nombre() { return "Pepsi"; } public override float valor() { ...
using Conjure.Data; using Example.Shared; using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using System.Web; namespace Example.Client.Data { public class ClientWeatherForecastService : IWeatherForecastSer...
using System.Collections.Generic; using Alabo.Industry.Cms.Articles.Domain.Entities; namespace Alabo.Industry.Cms.Articles.Domain.Dto { public class ManualOutput { public long RelationId { get; set; } public string RelationName { get; set; } public List<Article> Article { get; set; }...
// The MIT License (MIT) // Copyright (c) 2015 Intis Telecom // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, ...
/** 版本信息模板在安装目录下,可自行修改。 * orderitems.cs * * 功 能: N/A * 类 名: orderitems * * Ver 变更日期 负责人 变更内容 * ─────────────────────────────────── * V0.01 2018/9/4 10:38:43 N/A 初版 * * Copyright (c) 2012 Maticsoft Corporation. All rights reserved. *┌──────────────────────────────────┐ *│ 此技术信息为本公司机密信息,未经本公司书面同意禁...
using Android.App; using Android.Content; using Android.Views; using Android.Widget; using theCircuitLive; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; using CustomRenderer.Droid; [assembly: ExportRenderer(typeof(TestCell), typeof(NativeAndroidCellRenderer))] namespace CustomRenderer.Droid { public c...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Web.Http; namespace WebapiPdfMime.Controllers { public class ValuesController : ApiController { // GET api/values public IEnu...
namespace MovieRating.Data.Extensions { using Entities; using Repositories; using System.Linq; public static class UserExtensions { public static User GetSingleByUsername(this IEntityBaseRepository<User> userRepository,string username) { return userRepository.GetAll().F...
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using HtmlAgilityPack; using MuggleTranslator.Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls...
using System; using System.Collections.Generic; class SmallShop { static void Main() { string product = Console.ReadLine().ToLower(); string city = Console.ReadLine().ToLower(); double quantity = double.Parse(Console.ReadLine()); string cityProduct = city + product; va...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chloe.Metal.Contracts { public interface IRouteParamsProvider { Dictionary<string, object> Get(); void Set(string key, object value); } }
using System; using System.Linq; namespace _03.ExtractFile { class Program { static void Main() { var path = Console.ReadLine(); var fileInfo = path.Split(@"\", StringSplitOptions.RemoveEmptyEntries).ToArray(); var file = fileInfo[fileInfo.Len...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JaggedArraySorter { public abstract class JaggedArrayBubbleSorter { struct JaggedArrayLine { public int parameter; public int[] lineAddress; ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Compent.Extensions; using Google; using LightInject; using UBaseline.Core.Extensions; using Uintra.Core.Updater.Sql; using Umbraco.Core.Logging; using Umbraco.Core.Services; using Umbraco.Web.Composing; na...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AlgorithmProblems.Dynamic_Programming { /// <summary> /// We need to find the order in which multiplication between a set of matrix needs to be performed ...
using System; namespace Lottery.Repository.Interfaces { public interface ILotteryRecord { int First { get; set; } int Second { get; set; } int Third { get; set; } int Fourth { get; set; } int Fifth { get; set; } int Sixth { get; set; } int Special ...
using UnityEngine; using System.Collections; using ComLib.Unity.Extensions; namespace ComLib.Unity.Scripts { /// <summary> /// Holds a number of audio clips to randomly play in the attached audioSource /// </summary> public class AudioCollection : MonoBehaviour { public AudioClip[] audioC...
using System; class GameOfBits { static void Main() { uint num = uint.Parse(Console.ReadLine()); uint newNum = 0; uint nextNum = num; string bitComm = Console.ReadLine(); if (bitComm == "Game Over!") { newNum = num; } else { ...
namespace ShoppinCenter { using System; public class Product : IComparable<Product> { public Product(string name, decimal price, string producer) { this.Name = name; this.Price = price; this.Producer = producer; } public string Name { ge...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using TfsMobile.Contracts; namespace TfsWebClient.Models { public class BuildsVm { public IEnumerable<BuildContract> Builds { get; set; } public BuildsVm(IEnumerable<BuildContract> builds) ...
using System; class AlcoholMarket { static void Main() { double whiskeyPrice = double.Parse(Console.ReadLine()); double beer = double.Parse(Console.ReadLine()); double wine = double.Parse(Console.ReadLine()); double rakia = double.Parse(Console.ReadLine()); double whis...
using Microsoft.ProjectOxford.Emotion; using Microsoft.ProjectOxford.Vision; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.Forms; namespace XFComputerVision { public partial class App : Application { internal static VisionServiceClient visionClient; ...
using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Text; using Bo.Cuyahoga.Extensions.Search; namespace BoLuceneSearchTest { class Program { private const string dirName = "IndexingTest"; private static IList<PersonContent> sampleContent = new List<PersonConte...
using UnityEngine; [CreateAssetMenu(fileName = "Float", menuName = "Variable/Float", order = 1)] public class FloatVariable : VariableBase<float> { }
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using AutoMapper; using DAL; using DAL.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity.UI.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Server....
using AplicacaoDemo.TestesBasicos; using System; using System.Collections.Generic; using System.Text; using Xunit; namespace AplicacaoDemo.Tests.Basicos { public class CalculadoraTests { [Fact] public void Calculadora_Somar_DeveRetornarASomaDosValores() { // Arrange ...
namespace Cosmos.CPU.IOGroup { public abstract class IOGroup { } }
using UnityEngine; namespace UnityAtoms.BaseAtoms { /// <summary> /// Event of type `Collision2DPair`. Inherits from `AtomEvent&lt;Collision2DPair&gt;`. /// </summary> [EditorIcon("atom-icon-cherry")] [CreateAssetMenu(menuName = "Unity Atoms/Events/Collision2DPair", fileName = "Collision2DPairEvent...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using DevExpress.XtraEditors; using IRAP.Entity.UTS; namespace IRAP.Client.GUI.MDM { public partial class ColorPanel :...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chapter03_03 { class CPoint2i { public int theX; public int theY; public CPoint2i(int aX, int aY) { theX = aX; theY = aY; ...
/* * Author: Generated Code * Date Created: 24.02.2011 * Description: Represents a row in the tblTarifeMahnung table */ using System.Data.SqlClient; using System.Data; using System; namespace HTB.Database { public class tblTarifeMahnung : Record { #region Property Declaration private int _tarifeMahnungID; ...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; namespace DPYM { /// <summary> /// 道具接口 /// </summary> public interface ITool { } /// <summary> /// 道具 /// </summary> public class Tool : ITool, IDisposa...
using System; using System.Collections.Generic; using VoxelSpace.Tasks; namespace VoxelSpace { /// <summary> /// Produces a stream of VoxelChunks from a given VoxelVolume. /// All chunks not explicitly passed on by Produce() are passed on at the end of the task. /// </summary> public abstract cla...
#if UNITY_EDITOR using System; using System.Collections; using System.Collections.Generic; using System.Linq; using BP12; using DChild.Gameplay.Objects; using DChild.Gameplay.Objects.Characters.Enemies; using Sirenix.OdinInspector; using UnityEngine; namespace DChildDebug { public class DebugBossSpawner : Singlet...
using ModelChannelMonitor; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace CHM_Site_V3_RedBox.Models { public class Sites { public int id_site { get; set; } public string site { get; set; } public string info_adicional { get; set; } ...
using System; using Kadastr.View.Forms; using Kadastr.Data; using Kadastr.Data.Model; namespace Kadastr.View { public partial class Building : DevExpress.XtraEditors.XtraForm { delegate void Test (); public Building() { InitializeComponent(); /*using (var db = n...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Threading; using UnityEngine; public class PlayerMovement : MonoBehaviour { private Animator anim; private boo...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using SimpleFormValidationMVC.Models; namespace SimpleFormValidationMVC.Controllers { public class FilmeController : Controller { public IActionResult Index() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Entities; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft....
using System; namespace Compi_segundo { public enum EnumTok { } public enum enumTok { If, Then, Else, Fi, Do, Until, While, Read, Write, Float, Int, Bool, Program, And, Or, Not, For,True,False,Id,Error,Numero,NumeroFraccion,Null, mas, menos, por, entre, menor, menorIgual, mayor, mayorIgual, igua...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace SimpleBlogBlazor.Shared.Models { public class Post { public Guid PostId { get; set; } [Required] [StringLength(200, ErrorMessage = "Title is long (200 character lim...
using FluentNHibernate.Automapping; using FluentNHibernate.Mapping; using Semafaro.Titulos.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Semafaro.Titulos.Mapping { public class CronnSgvCobrancaMap : ClassMap<CronnSgvCobranca> ...
using FeriaVirtual.Api.Local.Models.Dto; using FeriaVirtual.Application.Services.Users.Create; using FeriaVirtual.Domain.SeedWork.Commands; using Microsoft.AspNetCore.Mvc; using System; namespace FeriaVirtual.Api.Local.Controllers.Users { [ApiController] public class CreateUserController : Controlle...
using BHLD.Model.Abstract; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BHLD.Model.Models { [Table("hu_protection_title_setting")] p...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; namespace Breu { public class BreuHudController : MonoBehaviour { private static BreuHudController current; // Start is called before the first f...
using System.Collections.Generic; public class Timer { public float timePassed = 0; public float TimeRemaining { get { return expireTime - timePassed; } } public float expireTime; public bool isComplete = false; public delegate void TimeoutFunction(); p...
using ApiSGCOlimpiada.Data.ProdutoPedidoOrcamentoDAO; using ApiSGCOlimpiada.Models; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; namespace ApiSGCOlimpiada.Cont...
namespace TripDestination.Services.Data { using System; using System.Linq; using Contracts; using TripDestination.Data.Models; using TripDestination.Data.Common; public class ViewServices : IViewServices { private readonly IDbRepository<View> viewRepos; public ViewServices...
using Unity.Entities; using Unity.Mathematics; public struct MeleeComponent : IComponentData { public float InterpolationFactor; // 0 for player position and 1 for farthest position from the player public float CooldownTimer; public float AttackTime; public sbyte Direction; public bool Attacking; public bool Re...
using Compiler.TreeStructure.MemberDeclarations; namespace Compiler.TreeStructure.Expressions { public interface ICall: ICommonTreeInterface, ICommonCall { string InputType { get; set; } string Identifier { get; set; } IMemberDeclaration MemberDeclaration { get; set; } } }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; using PiwoBack.Data.Models; namespace PiwoBack.Data.Models { public class User : Entity { [Required] public string Username { get; set; } [Required] public string Ema...
using System.Collections; using System.Collections.Generic; using UnityEngine; using GodMorgon.CardEffect; namespace GodMorgon.GameSequencerSpace { public class GSA_PlayerDefense : GameSequencerAction { /** * Should apply a visual defense effect */ public overri...
namespace Uintra.Core.Search.Entities { public class BaseFacet { public string Name { get; set; } public long Count { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; /** * A type of control that's turned on when a specified object is placed in */ public class HoldActivated : MonoBehaviour { //the object that turns on this control public Transform targetObj; //whatever this thing control...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using Alabo.Domains.Entities; using Alabo.Domains.Enums; using Alabo.Extensions; using Alabo.Framework.Basic.Grades.Domain.Services; using Alabo.Industry.Shop.Activitys.Domain.Entities; using Alabo.Industry....
using ComInLan.Model.Base; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ComInLan.Model.Packet { public class ServerPacket : Json, IServerPacket { public string Id { get; set; } public string DomainId { get; set; } public string...
using System; using System.Collections.Generic; using Assets.Scripts.Models.Ammo; using Assets.Scripts.Models.ResourceObjects; using Assets.Scripts.Models.ResourceObjects.CraftingResources; namespace Assets.Scripts.Models.Weapons { public class DragunobSniperRifle : Weapon { public DragunobSniperRifle...
using System; using System.Collections.Generic; using System.ComponentModel; namespace StarBastardCore.Website.Code.Game.Gameplay.Actions { public class GameActionBase { public string ActionName { get; set; } public Dictionary<string, object> Parameters { get; set; } public GameAction...
namespace P09TrafficLights { using System; using Models; public class Startup { public static void Main() { string[] inputData = Console.ReadLine().Split(); int numberOfRotates = int.Parse(Console.ReadLine()); TrafficLight trafficLigh...
using System; public class Programmer : Creator { public override void Create() { throw new NotImplementedException(); } private void BrainStirnSolutions() { base.CreativityLevel = base.CreativityLevel - 15; base.Energy = base.Energy - 10; Console.WriteLine("Brainst...
using System; using System.Drawing; using CoreFoundation; using UIKit; using Foundation; using Aquamonix.Mobile.IOS.Views; using Aquamonix.Mobile.Lib.Utilities; using Aquamonix.Mobile.IOS.UI; namespace Aquamonix.Mobile.IOS.ViewControllers { [Register("UniversalView")] public class UniversalView : UIView ...
//---------------------------------------------------------------------- // csMain_Scene.cs // Handles the main (and only) menu for the game. using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; public class csMain_Scene : MonoBehaviour { private bool DEBUG_LOCAL = false; // Starti...
using System; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Configuration; using System.Linq; using System.Text; using Framework.Core.Common; using Framework.Core.Config; using Tests.Pages.Oberon.Common; using OpenQA.Selenium; using OpenQA.Selenium.Support.PageObjec...
using DanialProject.Models.Database; using System; using System.Globalization; using System.Web; namespace DanialProject.Models.DataClasses { public class Others { public Others() { } public static string Check_OP(string op) { try { string[] split_Op = op.Split(new char[] { '.' }); if (int.P...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class ButtonsController : MonoBehaviour { [SerializeField] GameObject[] buttons; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } in...
using System; namespace Game_of_numbers { class Program { static void Main(string[] args) { int firstInt = int.Parse(Console.ReadLine()); int secondInt = int.Parse(Console.ReadLine()); int magicNumber = int.Parse(Console.ReadLine()); int combina...
using UnityEngine; namespace StateMachines { public class PauseHandler2: StateHandler { public override void OnEnter() { //Time.timeScale = 0; } public override void OnExit() { //Time.timeScale = 1; } } }
using System; using System.Collections.Generic; using ReactMusicStore.Core.Domain.Interfaces.Validation; namespace ReactMusicStore.Core.Domain.Validation { public class Validation<TEntity> : IValidation<TEntity> where TEntity : class { private readonly Dictionary<string, IValidationRule<TEntit...
using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Media; namespace MinecraftToolsBoxSDK { public class SpectrumSlider : Slider { #region Public Methods static SpectrumSlider() { DefaultStyleKeyProperty.OverrideMetadata(typ...
using System; using System.Diagnostics; namespace MinDbg.CorDebug { /// <summary> /// A base class for all COM wrappers. /// /// Taken from MDBG source. /// </summary> public abstract class WrapperBase : MarshalByRefObject { private readonly Object coobject; protected re...
using Kitapcim.Models; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; namespace Kitapcim.Controllers { public class YoneticiController : Controller { private Kitapcim.Models.Yonetici.YoneticiDBContext...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Confluent.Kafka; namespace KafkaComparer.Producer { public class Program { static void Main(string[] args) { var topicName = Environment.GetEnvironmentVariable(...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MiniShop { public partial class Form1 : Form { Dictionary<Tab...
namespace ComputersApplication { public interface IProductMediator { Computer[] GetProducts(string factory); } }
namespace MordorCrueltyPlan.Models { using System.Collections.Generic; using System.Linq; public class Gandalf { private List<Food> foodEathen; public Gandalf() { this.foodEathen = new List<Food>(); } public void Eat(Food food) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using NotSoSmartSaverAPI.DTO.UserDTO; using NotSoSmartSaverAPI.Interfaces; namespace NotSoSmartSaverAPI.Controllers { [Route("api/[controller]")] [A...
using System; using System.Collections.Generic; using System.Linq; using com.Sconit.Entity.BIL; using com.Sconit.Entity.Exception; using com.Sconit.Entity.MD; using NHibernate.Criterion; using Castle.Services.Transaction; using System.IO; using NPOI.HSSF.UserModel; using NPOI.SS.UserModel; using System.Collections; us...
//using System; //using System.Collections.Generic; //using System.Diagnostics; //using System.Linq; //using System.Threading.Tasks; //using System.Xml.Serialization; //using Breeze.Helpers; //using Breeze.Screens; //using Breeze.Services.InputService; //using Breeze.AssetTypes.DataBoundTypes; //using BreezeModels; //...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using WCFService; namespace UnitTestProject1 { [TestClass] //Called unit test, but also contains test with Database PostgreSQL on Windows Server 2008 R8 public class UnitTest1 { WCFService.RestfulService client = new WCFService....
using UnityEngine; using System.Collections; using System; using System.Text; using System.Security.Cryptography; using Mio.TileMaster; #if UNITY_EDITOR using UnityEditor; #endif public class SystemHelper { private static string _deviceUniqueID; private static string _networkUniqueID; private static string _produc...
using System; namespace TaxCalc { class Program { static void Main(string[] args) { Console.WriteLine("Enter status : "); int status = int.Parse(Console.ReadLine()); Console.WriteLine("Enter profit : "); int zarada = int.Parse(Console.ReadLine())...
using gMediaTools.Models.ProcessRunner; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace gMediaTools.Services.ProcessRunner.x264 { public class X264ProcessRunnerService { public IProcessRunnerParameters GetAllParamet...
namespace DocumentsApproval.Commands { public class RejectDocument : BaseCommand { public string Rejecter { get; set; } } }
using System; using System.Collections.Generic; using System.Text; using WpfSuduko.MVC.Models; namespace WpfSuduko.MVC.Controllers { class FileController { private string _filePath = "D:\\Workspaces\\WpfSuduko\\WpfSuduko\\Files\\Boards.txt"; public void AppendBoardToFile(Board board, string op...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace CMSWebsite { public partial class EditPage : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!Page.Is...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyDamage : MonoBehaviour { [Header("Configurables")] [SerializeField] private int damage = 1; [SerializeField] private float damageResetTime = 0.25f; private Collider2D enemyCollider = null; p...
#if UNITY_2019_1_OR_NEWER using UnityEditor; using UnityAtoms.Editor; namespace UnityAtoms.BaseAtoms.Editor { /// <summary> /// Variable property drawer of type `Color`. Inherits from `AtomDrawer&lt;ColorVariable&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`. /// </summary> [CustomPropertyDrawer(typeo...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WebApiAngularEcommerce { public class Cart { public int ID { get; set; } [JsonIgnore] public virtual List<ProductCart> Products { get; set...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Boton : MonoBehaviour { public void Lentiviris() { Time.timeScale = 0.5f; } public void Normaliviris() { Time.timeScale = 1; } public void Rapidiviris() { Time.ti...
using System; using System.Collections; using System.Collections.Generic; using DefaultNamespace; using UnityEngine; using UnityEngine.UI; public class Coin : MonoBehaviour { public int coinValue = 50; //if player hits the coin, then destroy the coin private void OnTriggerEnter2D(Collider2D other) { ...
namespace MinEvenNumber { using System; using System.Globalization; using System.Linq; using System.Threading; public class Startup { public static void Main(string[] args) { Console.WriteLine(Execute()); } private static string Execute() { ...
using UnityEngine; using System; using UnityEngine.UI; public class SunControl : MonoBehaviour { public float rotationSpeed; public GameObject terrain; public Text timeOfDay; void Update () { float mapSize = terrain.GetComponent<TerrainManager>().Size; transform.RotateAround(new Vector3...