public static SecureInt operator -(SecureInt d1, SecureInt d2) { SecureInt res = new SecureInt(); res.SetValue(d1.GetValue() - d2.GetValue()); return(res); }
private void Awake() { lives.SetValue(3); load = FindObjectOfType <LoadMenuControl>(); livesBar = FindObjectOfType <LivesBar>(); rigidbody = GetComponent <Rigidbody2D>(); animator = GetComponent <Animator>(); sprite = GetComponentInChildren <SpriteRenderer>(); bullet = Resources.Load <Bullet>("Bullet"); menu = FindObjectOfType <Menu_table>(); isandriod = menu.isAndroid; speed = speeds[menu.GetDifficult()]; jumpForce = jumpForces[menu.GetDifficult()]; }