Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     mainCamera    = GameObject.Find("Main Camera").GetComponent <Camera>();
     renderer      = GetComponent <Renderer>();
     parentNode    = GetComponentInParent <DeveloperNote>();
     timeToDisplay = parentNode.timeToDisplay;
     showArea      = parentNode.showArea;
     hideArea      = parentNode.hideArea;
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     player        = GameObject.Find("Player");
     mainCamera    = GameObject.Find("Main Camera").GetComponent <Camera>();
     unreadIcon    = GetComponent <Image>();
     parentNode    = GetComponentInParent <DeveloperNote>();
     timeToDisplay = parentNode.timeToDisplay;
     showArea      = parentNode.showArea;
     hideArea      = parentNode.hideArea;
 }
Esempio n. 3
0
        public bool Equals(AwaAuthorizationResult input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     UserSelection == input.UserSelection ||
                     (UserSelection != null && UserSelection.Equals(input.UserSelection))
                     ) &&
                 (
                     ResponseReason == input.ResponseReason ||
                     (ResponseReason != null && ResponseReason.Equals(input.ResponseReason))
                 ) &&
                 (
                     DeveloperNote == input.DeveloperNote ||
                     (DeveloperNote != null && DeveloperNote.Equals(input.DeveloperNote))
                 ) &&
                 (
                     ActionToken == input.ActionToken ||
                     (ActionToken != null && ActionToken.Equals(input.ActionToken))
                 ) &&
                 (
                     MaximumNumberOfUses == input.MaximumNumberOfUses ||
                     (MaximumNumberOfUses.Equals(input.MaximumNumberOfUses))
                 ) &&
                 (
                     ValidUntil == input.ValidUntil ||
                     (ValidUntil != null && ValidUntil.Equals(input.ValidUntil))
                 ) &&
                 (
                     Type == input.Type ||
                     (Type != null && Type.Equals(input.Type))
                 ) &&
                 (
                     MembershipType == input.MembershipType ||
                     (MembershipType != null && MembershipType.Equals(input.MembershipType))
                 ));
        }