Esempio n. 1
0
        public override ThinkNode DeepCopy(bool resolve = true)
        {
            JobGiver_Wander jobGiver_Wander = (JobGiver_Wander)base.DeepCopy(resolve);

            jobGiver_Wander.wanderRadius             = this.wanderRadius;
            jobGiver_Wander.wanderDestValidator      = this.wanderDestValidator;
            jobGiver_Wander.ticksBetweenWandersRange = this.ticksBetweenWandersRange;
            jobGiver_Wander.locomotionUrgency        = this.locomotionUrgency;
            jobGiver_Wander.maxDanger = this.maxDanger;
            return(jobGiver_Wander);
        }
Esempio n. 2
0
        public override ThinkNode DeepCopy(bool resolve = true)
        {
            JobGiver_Wander obj = (JobGiver_Wander)base.DeepCopy(resolve);

            obj.wanderRadius             = wanderRadius;
            obj.wanderDestValidator      = wanderDestValidator;
            obj.ticksBetweenWandersRange = ticksBetweenWandersRange;
            obj.locomotionUrgency        = locomotionUrgency;
            obj.maxDanger      = maxDanger;
            obj.expiryInterval = expiryInterval;
            return(obj);
        }