Beispiel #1
0
        public void Awake()
        {
            this.spriteSorter = GetComponent <SpriteSorter>();
            this.walkAI       = GetComponent <WalkAI>();
            this.attackAI     = GetComponent <AttackAI>();
            this.health       = GetComponent <Health>();

            if (this.deity != null)
            {
                this.deity.AddCat(this);
            }
        }
Beispiel #2
0
        public void Awake()
        {
            this.interactable = GetComponent <Interactable>();
            this.walkAI       = GetComponent <WalkAI>();

            string adjective = Strings.HumanAdjectives.GetRandom();
            string noun      = Strings.HumanNouns.GetRandom();

            this.humanName = $"{adjective} {noun}";

            PickRandomGender();

            SetInteraction(InteractionSetting.Bless);
        }