Пример #1
0
    public static void Main(String[] args)
    {
        sc  obj   = new sc();
        int total = obj.add(10, 3);

        Console.WriteLine("\n\t\t\t Total={0}", total);
    }
Пример #2
0
 public void Clear()
 {
     iHome    = 0;
     iToStart = 0;
     eSeq     = sc.Idle;
     iCycle   = 0;
     iToStop  = 0;
     eLastSeq = sc.Idle;
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     csg = new sc();
     rb  = GetComponent <Rigidbody2D>();
     if (sc.aber <= 100)
     {
         rb.velocity = Vector2.down * velocity;
     }
 }
Пример #4
0
 // Token: 0x060000E4 RID: 228 RVA: 0x0000E4E8 File Offset: 0x0000C6E8
 public void \u0002(sc \u0002)
 {
     if (\u0002 == this.\u0005\u2001)
     {
         return;
     }
     if (\u0002 != null)
     {
         throw new ArgumentException(global::\u0006\u2001.\u0002(-1829139669));
     }
     this.\u0003 <sc>(ref this.\u0005\u2001);
 }
Пример #5
0
 // Start is called before the first frame update
 void Start()
 {
     stopWatch = new Stopwatch();
     stopWatch.Start();
     scoreText.text = "Score: " + score.ToString();
     score          = 0;
     b2             = FindObjectOfType <Bullet2script>();
     b1             = FindObjectOfType <sc>();
     b3             = FindObjectOfType <B3>();
     b4             = FindObjectOfType <B4>();
     b5             = FindObjectOfType <B5>();
     b6             = FindObjectOfType <B6>();
     b7             = FindObjectOfType <B7>();
     b8             = FindObjectOfType <B8>();
     b9             = FindObjectOfType <B9>();
     b10            = FindObjectOfType <B10>();
     b11            = FindObjectOfType <B11>();
     b12            = FindObjectOfType <B12>();
     b13            = FindObjectOfType <B13>();
     b14            = FindObjectOfType <B14>();
     b15            = FindObjectOfType <B15>();
     b16            = FindObjectOfType <B16>();
     b17            = FindObjectOfType <B17>();
     b18            = FindObjectOfType <B18>();
     b19            = FindObjectOfType <B19>();
     b20            = FindObjectOfType <B20>();
     b21            = FindObjectOfType <B21>();
     b22            = FindObjectOfType <B22>();
     b23            = FindObjectOfType <B23>();
     b24            = FindObjectOfType <B24>();
     b25            = FindObjectOfType <B25>();
     b26            = FindObjectOfType <B26>();
     b27            = FindObjectOfType <B27>();
     b28            = FindObjectOfType <B28>();
     b29            = FindObjectOfType <B29>();
     b30            = FindObjectOfType <B30>();
     b31            = FindObjectOfType <B31>();
     b32            = FindObjectOfType <B32>();
     b33            = FindObjectOfType <B33>();
     b34            = FindObjectOfType <B34>();
     b35            = FindObjectOfType <B35>();
     b36            = FindObjectOfType <B36>();
     b37            = FindObjectOfType <B37>();
     b38            = FindObjectOfType <B38>();
     b39            = FindObjectOfType <B39>();
     b40            = FindObjectOfType <B40>();
     b41            = FindObjectOfType <B41>();
 }
Пример #6
0
 // Use this for initialization
 void Start()
 {
     csg         = new sc();
     rb          = GetComponent <Rigidbody2D>();
     rb.velocity = Vector2.down * velocity;
 }
Пример #7
0
 public void playButton()
 {
     SceneChanger = FindObjectOfType(typeof(sc)) as sc;
     SceneChanger.ToLevel(SceneManager.GetActiveScene().buildIndex + 1);
     //SceneManager.LoadScene("Mountain");
 }