Exemple #1
0
 public override void OnReset()
 {
     targetGameObject = null;
     animationName.Value = "";
     fadeLength = 0.3f;
     playMode = PlayMode.StopSameLayer;
 }
Exemple #2
0
 public override void OnReset()
 {
     targetGameObject = null;
     point = Vector3.zero;
     axis = Vector3.zero;
     angle = 0;
 }
Exemple #3
0
 public override void OnReset()
 {
     // Reset the properties back to their original values
     behaviorGameObject = null;
     group = 0;
     pauseBehavior = false;
 }
Exemple #4
0
 public override void OnReset()
 {
     targetGameObject = null;
     stateName = "";
     layer = -1;
     normalizedTime = float.NegativeInfinity;
 }
 public override void OnReset()
 {
     // Reset the properties back to their original values.
     behaviorGameObject = null;
     group = 0;
     waitForCompletion = false;
 }
 public override void OnReset()
 {
     targetGameObject = null;
     force = Vector3.zero;
     position = Vector3.zero;
     forceMode = ForceMode.Force;
 }
 public override void OnReset()
 {
     targetGameObject = null;
     componentName = null;
     propertyName = null;
     propertyValue = null;
 }
Exemple #8
0
 public override void OnReset()
 {
     targetGameObject = null;
     componentName = null;
     fieldName = null; 
     fieldValue = null;
 }
Exemple #9
0
 public override void OnReset()
 {
     targetGameObject = null;
     animationName.Value = "";
     queue = QueueMode.CompleteOthers;
     playMode = PlayMode.StopSameLayer;
 }
Exemple #10
0
 public override void OnReset()
 {
     targetGameObject = null;
     animationName = "";
     targetWeight = 1;
     fadeLength = 0.3f;
 }
 public override void OnReset()
 {
     targetGameObject = null;
     targetObject = null;
     targetPosition = Vector3.zero;
     ignoreHeight = true;
     storeValue = 0;
 }
Exemple #12
0
        // Reset the public variables
        public override void OnReset()
        {
            base.OnReset();

            targetDistPrediction = 20;
            targetDistPredictionMult = 20;
            target = null;
        }
Exemple #13
0
        // Reset the public variables
        public override void OnReset()
        {
            base.OnReset();

            fleedDistance = 20;
            lookAheadDistance = 5;
            target = null;
        }
Exemple #14
0
 public override void OnReset()
 {
     targetGameObject = null;
     if (force != null) {
         force.Value = Vector3.zero;
     }
     forceMode = ForceMode.Force;
 }
Exemple #15
0
 public override void OnReset()
 {
     originGameObject = null;
     originPosition = Vector3.zero;
     direction = Vector3.zero;
     distance = -1;
     layerMask = -1;
     space = Space.Self;
 }
 public override void OnReset()
 {
     targetGameObject = null;
     weight = 0;
     bodyWeight = 0;
     headWeight = 1;
     eyesWeight = 0;
     clampWeight = 0.5f;
 }
Exemple #17
0
 public override void OnReset()
 {
     targetGameObject = null;
     explosionForce = 0;
     explosionPosition = Vector3.zero;
     explosionRadius = 0;
     upwardsModifier = 0;
     forceMode = ForceMode.Force;
 }
 // Reset the public variables
 public override void OnReset()
 {
     usePhysics2D = false;
     rotationEpsilon = 0.5f;
     maxLookAtRotationDelta = 1f;
     onlyY = false;
     target = null;
     targetRotation = Vector3.zero;
 }
Exemple #19
0
        // Reset the public variables
        public override void OnReset()
        {
            base.OnReset();

            target = null;
            evadeDistance = 10;
            lookAheadDistance = 5;
            targetDistPrediction = 20;
            targetDistPredictionMult = 20;
        }
Exemple #20
0
 public override void OnReset()
 {
     targetGameObject = null;
     componentName = null;
     methodName = null; 
     parameter1 = null;
     parameter2 = null;
     parameter3 = null;
     parameter4 = null;
     storeResult = null;
 }
Exemple #21
0
 public override void OnReset()
 {
     targetGameObject = null;
     matchPosition = Vector3.zero;
     matchRotation = Quaternion.identity;
     targetBodyPart = AvatarTarget.Root;
     weightMaskPosition = Vector3.zero;
     weightMaskRotation = 0;
     startNormalizedTime = 0;
     targetNormalizedTime = 1;
 }
Exemple #22
0
        public override TaskStatus OnUpdate()
        {
            Vector3 position;
            Vector3 dir = direction.Value;
            if (originGameObject.Value != null) {
                position = originGameObject.Value.transform.position;
                if (space == Space.Self) {
                    dir = originGameObject.Value.transform.TransformDirection(direction.Value);
                }
            } else {
                position = originPosition.Value;
            }

            RaycastHit hit;
            if (Physics.Raycast(position, dir, out hit, distance.Value == -1 ? Mathf.Infinity : distance.Value, layerMask)) {
                storeHitObject = hit.collider.gameObject;
                storeHitPoint = hit.point;
                storeHitNormal = hit.normal;
                storeHitDistance = hit.distance;
                return TaskStatus.Success;
            }

            return TaskStatus.Failure;
        }
Exemple #23
0
 public override void OnReset()
 {
     targetGameObject = null;
     storeResult      = 0;
 }
 public override void OnReset()
 {
     // Reset the properties back to their original values
     targetGameObject = null;
     eventName        = "";
 }
 public override void OnReset()
 {
     targetGameObject = null;
     radius           = 0;
 }
Exemple #26
0
 public override void OnReset()
 {
     this.targetGameObject = null;
     this.storeValue       = 0f;
 }
 public override void OnReset()
 {
     m_SensorSource   = null;
     m_TargetFilter   = null;
     m_targetDetected = null;
 }
 public override void OnReset()
 {
     targetGameObject = null;
     destination      = Vector3.zero;
 }
Exemple #29
0
 public virtual void OnReset()
 {
     this.targetGameObject = (SharedGameObject)null;
     this.storeValue       = (SharedFloat)0.0f;
 }
Exemple #30
0
 public override void OnReset()
 {
     targetGameObject = null;
     angularDrag      = 0;
 }
Exemple #31
0
 public override void OnReset()
 {
     targetGameObject    = null;
     ignoreListenerPause = false;
 }
Exemple #32
0
 public override void OnReset()
 {
     targetGameObject = null;
     mute = false;
 }
Exemple #33
0
 public override void OnReset()
 {
     targetGameObject = null;
     storeValue       = Vector3.zero;
 }
Exemple #34
0
 public override void OnReset()
 {
     targetGameObject = null;
     range = 0;
 }
Exemple #35
0
 public override void OnReset()
 {
     targetGameObject = null;
     startColor       = Color.white;
 }
 public override void OnReset()
 {
     tag = "";
     collidedGameObject = null;
 }
 public override void OnReset()
 {
     targetGameObject = null;
     localEulerAngles = Vector3.zero;
 }
Exemple #38
0
 public override void OnReset()
 {
     base.OnReset();
     target         = null;
     targetPosition = Vector3.zero;
 }
Exemple #39
0
 public override void OnReset()
 {
     targetGameObject = null;
     rootMotion       = false;
 }
Exemple #40
0
 public override void OnReset()
 {
     targetGameObject = null;
     torque           = 0;
 }
Exemple #41
0
 public override void OnReset()
 {
     this.targetGameObject = null;
     this.translation      = Vector3.zero;
     this.relativeTo       = Space.Self;
 }
Exemple #42
0
 public override void OnReset()
 {
     targetGameObject = null;
     maxDistance      = 1;
 }
Exemple #43
0
 public override void OnReset()
 {
     tag = "";
     otherGameObject = null;
 }
 public override void OnReset()
 {
     targetGameObject = null;
     storeValue       = 0;
 }
Exemple #45
0
 public override void OnReset()
 {
     targetGameObject = null;
     offset           = Vector3.zero;
 }
Exemple #46
0
 public virtual void OnReset()
 {
     this.targetGameObject = (SharedGameObject)null;
     this.intensity        = (SharedFloat)0.0f;
 }
Exemple #47
0
 public override void OnReset()
 {
     targetGameObject = null;
     mass = 0;
 }
Exemple #48
0
 public override void OnReset()
 {
     this.targetGameObject = null;
     this.angularDrag      = 0f;
 }
Exemple #49
0
 public override void OnReset()
 {
     targetGameObject = null;
     angularVelocity  = 0;
 }
 public virtual void OnReset()
 {
     this.targetGameObject = (SharedGameObject)null;
     this.storeValue       = (SharedVector3)Vector3.get_zero();
 }
Exemple #51
0
 public override void OnReset()
 {
     targetGameObject = null;
     size             = Vector2.zero;
 }
Exemple #52
0
 public override void OnReset()
 {
     targetGameObject    = null;
     animationName.Value = "";
     playMode            = PlayMode.StopSameLayer;
 }
Exemple #53
0
 public override void OnReset()
 {
     targetGameObject = null;
     position = Vector2.zero;
 }
Exemple #54
0
 public override void OnReset()
 {
     targetGameObject = null;
     newPosition      = Vector3.zero;
 }
 public override void OnReset()
 {
     collidedGameObject = null;
 }
Exemple #56
0
 public virtual void OnReset()
 {
     this.targetGameObject = (SharedGameObject)null;
     this.force            = (SharedVector2)Vector2.get_zero();
     this.position         = (SharedVector2)Vector2.get_zero();
 }
 public override void OnReset()
 {
     targetGameObject = null;
     storeValue = 0;
 }
Exemple #58
0
 public override void OnReset()
 {
     this.targetGameObject = null;
 }
Exemple #59
0
 public override void OnReset()
 {
     targetGameObject = null;
     tag = "";
     collidedGameObject = null;
 }
Exemple #60
0
 public override void OnReset()
 {
     this.targetGameObject = null;
     this.storeValue       = Quaternion.identity;
 }