From 22891bf59032ba88262824255a706d652031384b Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 10 Mar 2022 14:07:40 +0800 Subject: * move folder --- .../ThirdParty/Behavior Designer/Documentation.pdf | Bin 9848242 -> 0 bytes .../Behavior Designer/Documentation.pdf.meta | 4 - Assets/ThirdParty/Behavior Designer/Editor.meta | 2 - .../Editor/BehaviorDesignerEditor.dll | Bin 785408 -> 0 bytes .../Editor/BehaviorDesignerEditor.dll.meta | 22 --- .../Editor/BehaviorTreeInspector.cs | 11 -- .../Editor/BehaviorTreeInspector.cs.meta | 7 - .../Editor/ExternalBehaviorTreeInspector.cs | 12 -- .../Editor/ExternalBehaviorTreeInspector.cs.meta | 8 -- .../Behavior Designer/Editor/GridShader.shader | 44 ------ .../Editor/GridShader.shader.meta | 5 - .../Behavior Designer/Editor/Object Drawers.meta | 5 - .../Editor/Object Drawers/FloatSliderDrawer.cs | 22 --- .../Object Drawers/FloatSliderDrawer.cs.meta | 8 -- .../Editor/Object Drawers/IntSliderDrawer.cs | 22 --- .../Editor/Object Drawers/IntSliderDrawer.cs.meta | 8 -- .../ThirdParty/Behavior Designer/Release Notes.pdf | Bin 108089 -> 0 bytes .../Behavior Designer/Release Notes.pdf.meta | 4 - .../Runtime Source Code Location.pdf | Bin 89880 -> 0 bytes .../Runtime Source Code Location.pdf.meta | 4 - Assets/ThirdParty/Behavior Designer/Runtime.meta | 2 - .../Behavior Designer/Runtime/Actions.meta | 2 - .../Runtime/Actions/BehaviorTreeReference.cs | 17 --- .../Runtime/Actions/BehaviorTreeReference.cs.meta | 8 -- .../Behavior Designer/Runtime/Actions/Idle.cs | 15 --- .../Behavior Designer/Runtime/Actions/Idle.cs.meta | 8 -- .../Behavior Designer/Runtime/Actions/Log.cs | 33 ----- .../Behavior Designer/Runtime/Actions/Log.cs.meta | 7 - .../Runtime/Actions/PerformInterruption.cs | 29 ---- .../Runtime/Actions/PerformInterruption.cs.meta | 7 - .../Runtime/Actions/Reflection.meta | 4 - .../Runtime/Actions/Reflection/GetFieldValue.cs | 58 -------- .../Actions/Reflection/GetFieldValue.cs.meta | 8 -- .../Runtime/Actions/Reflection/GetPropertyValue.cs | 58 -------- .../Actions/Reflection/GetPropertyValue.cs.meta | 8 -- .../Runtime/Actions/Reflection/InvokeMethod.cs | 86 ------------ .../Actions/Reflection/InvokeMethod.cs.meta | 8 -- .../Runtime/Actions/Reflection/SetFieldValue.cs | 57 -------- .../Actions/Reflection/SetFieldValue.cs.meta | 8 -- .../Runtime/Actions/Reflection/SetPropertyValue.cs | 57 -------- .../Actions/Reflection/SetPropertyValue.cs.meta | 8 -- .../Runtime/Actions/RestartBehaviorTree.cs | 56 -------- .../Runtime/Actions/RestartBehaviorTree.cs.meta | 8 -- .../Behavior Designer/Runtime/Actions/SendEvent.cs | 73 ---------- .../Runtime/Actions/SendEvent.cs.meta | 8 -- .../Runtime/Actions/StartBehaviorTree.cs | 92 ------------- .../Runtime/Actions/StartBehaviorTree.cs.meta | 7 - .../Runtime/Actions/StopBehaviorTree.cs | 57 -------- .../Runtime/Actions/StopBehaviorTree.cs.meta | 7 - .../Behavior Designer/Runtime/Actions/Wait.cs | 67 --------- .../Behavior Designer/Runtime/Actions/Wait.cs.meta | 7 - .../Behavior Designer/Runtime/Basic Tasks.meta | 4 - .../Runtime/Basic Tasks/Animation.meta | 4 - .../Runtime/Basic Tasks/Animation/Blend.cs | 51 ------- .../Runtime/Basic Tasks/Animation/Blend.cs.meta | 8 -- .../Runtime/Basic Tasks/Animation/CrossFade.cs | 51 ------- .../Basic Tasks/Animation/CrossFade.cs.meta | 8 -- .../Basic Tasks/Animation/CrossFadeQueued.cs | 54 -------- .../Basic Tasks/Animation/CrossFadeQueued.cs.meta | 8 -- .../Basic Tasks/Animation/GetAnimatePhysics.cs | 46 ------- .../Animation/GetAnimatePhysics.cs.meta | 8 -- .../Runtime/Basic Tasks/Animation/IsPlaying.cs | 47 ------- .../Basic Tasks/Animation/IsPlaying.cs.meta | 8 -- .../Runtime/Basic Tasks/Animation/Play.cs | 52 ------- .../Runtime/Basic Tasks/Animation/Play.cs.meta | 8 -- .../Runtime/Basic Tasks/Animation/PlayQueued.cs | 51 ------- .../Basic Tasks/Animation/PlayQueued.cs.meta | 8 -- .../Runtime/Basic Tasks/Animation/Rewind.cs | 49 ------- .../Runtime/Basic Tasks/Animation/Rewind.cs.meta | 8 -- .../Runtime/Basic Tasks/Animation/Sample.cs | 41 ------ .../Runtime/Basic Tasks/Animation/Sample.cs.meta | 8 -- .../Basic Tasks/Animation/SetAnimatePhysics.cs | 45 ------- .../Animation/SetAnimatePhysics.cs.meta | 8 -- .../Runtime/Basic Tasks/Animation/SetWrapMode.cs | 45 ------- .../Basic Tasks/Animation/SetWrapMode.cs.meta | 8 -- .../Runtime/Basic Tasks/Animation/Stop.cs | 49 ------- .../Runtime/Basic Tasks/Animation/Stop.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator.meta | 4 - .../Runtime/Basic Tasks/Animator/CrossFade.cs | 53 -------- .../Runtime/Basic Tasks/Animator/CrossFade.cs.meta | 8 -- .../Basic Tasks/Animator/GetApplyRootMotion.cs | 45 ------- .../Animator/GetApplyRootMotion.cs.meta | 8 -- .../Basic Tasks/Animator/GetBoolParameter.cs | 48 ------- .../Basic Tasks/Animator/GetBoolParameter.cs.meta | 8 -- .../Basic Tasks/Animator/GetDeltaPosition.cs | 45 ------- .../Basic Tasks/Animator/GetDeltaPosition.cs.meta | 8 -- .../Basic Tasks/Animator/GetDeltaRotation.cs | 46 ------- .../Basic Tasks/Animator/GetDeltaRotation.cs.meta | 8 -- .../Basic Tasks/Animator/GetFloatParameter.cs | 48 ------- .../Basic Tasks/Animator/GetFloatParameter.cs.meta | 8 -- .../Basic Tasks/Animator/GetGravityWeight.cs | 45 ------- .../Basic Tasks/Animator/GetGravityWeight.cs.meta | 8 -- .../Basic Tasks/Animator/GetIntegerParameter.cs | 48 ------- .../Animator/GetIntegerParameter.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator/GetLayerWeight.cs | 48 ------- .../Basic Tasks/Animator/GetLayerWeight.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator/GetSpeed.cs | 45 ------- .../Runtime/Basic Tasks/Animator/GetSpeed.cs.meta | 8 -- .../Basic Tasks/Animator/GetStringToHash.cs | 28 ---- .../Basic Tasks/Animator/GetStringToHash.cs.meta | 8 -- .../Basic Tasks/Animator/InterruptMatchTarget.cs | 44 ------ .../Animator/InterruptMatchTarget.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator/IsInTransition.cs | 42 ------ .../Basic Tasks/Animator/IsInTransition.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator/IsName.cs | 45 ------- .../Runtime/Basic Tasks/Animator/IsName.cs.meta | 8 -- .../Animator/IsParameterControlledByCurve.cs | 42 ------ .../Animator/IsParameterControlledByCurve.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator/MatchTarget.cs | 62 --------- .../Basic Tasks/Animator/MatchTarget.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator/Play.cs | 50 ------- .../Runtime/Basic Tasks/Animator/Play.cs.meta | 8 -- .../Basic Tasks/Animator/SetApplyRootMotion.cs | 44 ------ .../Animator/SetApplyRootMotion.cs.meta | 8 -- .../Basic Tasks/Animator/SetBoolParameter.cs | 62 --------- .../Basic Tasks/Animator/SetBoolParameter.cs.meta | 8 -- .../Basic Tasks/Animator/SetFloatParameter.cs | 63 --------- .../Basic Tasks/Animator/SetFloatParameter.cs.meta | 8 -- .../Basic Tasks/Animator/SetIntegerParameter.cs | 63 --------- .../Animator/SetIntegerParameter.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator/SetLayerWeight.cs | 47 ------- .../Basic Tasks/Animator/SetLayerWeight.cs.meta | 8 -- .../Basic Tasks/Animator/SetLookAtPosition.cs | 53 -------- .../Basic Tasks/Animator/SetLookAtPosition.cs.meta | 8 -- .../Basic Tasks/Animator/SetLookAtWeight.cs | 66 --------- .../Basic Tasks/Animator/SetLookAtWeight.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator/SetSpeed.cs | 44 ------ .../Runtime/Basic Tasks/Animator/SetSpeed.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator/SetTrigger.cs | 44 ------ .../Basic Tasks/Animator/SetTrigger.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator/StartPlayback.cs | 41 ------ .../Basic Tasks/Animator/StartPlayback.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator/StartRecording.cs | 44 ------ .../Basic Tasks/Animator/StartRecording.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator/StopPlayback.cs | 41 ------ .../Basic Tasks/Animator/StopPlayback.cs.meta | 8 -- .../Runtime/Basic Tasks/Animator/StopRecording.cs | 41 ------ .../Basic Tasks/Animator/StopRecording.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource.meta | 4 - .../AudioSource/GetIgnoreListenerPause.cs | 45 ------- .../AudioSource/GetIgnoreListenerPause.cs.meta | 8 -- .../AudioSource/GetIgnoreListenerVolume.cs | 45 ------- .../AudioSource/GetIgnoreListenerVolume.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/GetLoop.cs | 45 ------- .../Basic Tasks/AudioSource/GetLoop.cs.meta | 8 -- .../Basic Tasks/AudioSource/GetMaxDistance.cs | 45 ------- .../Basic Tasks/AudioSource/GetMaxDistance.cs.meta | 8 -- .../Basic Tasks/AudioSource/GetMinDistance.cs | 45 ------- .../Basic Tasks/AudioSource/GetMinDistance.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/GetMute.cs | 45 ------- .../Basic Tasks/AudioSource/GetMute.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/GetPitch.cs | 45 ------- .../Basic Tasks/AudioSource/GetPitch.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/GetPriority.cs | 45 ------- .../Basic Tasks/AudioSource/GetPriority.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/GetSpread.cs | 45 ------- .../Basic Tasks/AudioSource/GetSpread.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/GetTime.cs | 45 ------- .../Basic Tasks/AudioSource/GetTime.cs.meta | 8 -- .../Basic Tasks/AudioSource/GetTimeSamples.cs | 45 ------- .../Basic Tasks/AudioSource/GetTimeSamples.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/GetVolume.cs | 45 ------- .../Basic Tasks/AudioSource/GetVolume.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/IsPlaying.cs | 39 ------ .../Basic Tasks/AudioSource/IsPlaying.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/Pause.cs | 41 ------ .../Runtime/Basic Tasks/AudioSource/Pause.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/Play.cs | 41 ------ .../Runtime/Basic Tasks/AudioSource/Play.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/PlayDelayed.cs | 44 ------ .../Basic Tasks/AudioSource/PlayDelayed.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/PlayOneShot.cs | 47 ------- .../Basic Tasks/AudioSource/PlayOneShot.cs.meta | 8 -- .../Basic Tasks/AudioSource/PlayScheduled.cs | 44 ------ .../Basic Tasks/AudioSource/PlayScheduled.cs.meta | 8 -- .../Basic Tasks/AudioSource/SetAudioClip.cs | 44 ------ .../Basic Tasks/AudioSource/SetAudioClip.cs.meta | 8 -- .../AudioSource/SetIgnoreListenerPause.cs | 44 ------ .../AudioSource/SetIgnoreListenerPause.cs.meta | 8 -- .../AudioSource/SetIgnoreListenerVolume.cs | 44 ------ .../AudioSource/SetIgnoreListenerVolume.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/SetLoop.cs | 44 ------ .../Basic Tasks/AudioSource/SetLoop.cs.meta | 8 -- .../Basic Tasks/AudioSource/SetMaxDistance.cs | 44 ------ .../Basic Tasks/AudioSource/SetMaxDistance.cs.meta | 8 -- .../Basic Tasks/AudioSource/SetMinDistance.cs | 44 ------ .../Basic Tasks/AudioSource/SetMinDistance.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/SetMute.cs | 44 ------ .../Basic Tasks/AudioSource/SetMute.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/SetPan.cs | 46 ------- .../Runtime/Basic Tasks/AudioSource/SetPan.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/SetPanLevel.cs | 46 ------- .../Basic Tasks/AudioSource/SetPanLevel.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/SetPitch.cs | 44 ------ .../Basic Tasks/AudioSource/SetPitch.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/SetPriority.cs | 44 ------ .../Basic Tasks/AudioSource/SetPriority.cs.meta | 8 -- .../Basic Tasks/AudioSource/SetRolloffMode.cs | 44 ------ .../Basic Tasks/AudioSource/SetRolloffMode.cs.meta | 8 -- .../Basic Tasks/AudioSource/SetScheduledEndTime.cs | 45 ------- .../AudioSource/SetScheduledEndTime.cs.meta | 8 -- .../AudioSource/SetScheduledStartTime.cs | 44 ------ .../AudioSource/SetScheduledStartTime.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/SetSpread.cs | 44 ------ .../Basic Tasks/AudioSource/SetSpread.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/SetTime.cs | 44 ------ .../Basic Tasks/AudioSource/SetTime.cs.meta | 8 -- .../AudioSource/SetVelocityUpdateMode.cs | 44 ------ .../AudioSource/SetVelocityUpdateMode.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/SetVolume.cs | 44 ------ .../Basic Tasks/AudioSource/SetVolume.cs.meta | 8 -- .../Runtime/Basic Tasks/AudioSource/Stop.cs | 41 ------ .../Runtime/Basic Tasks/AudioSource/Stop.cs.meta | 8 -- .../Runtime/Basic Tasks/Behaviour.meta | 4 - .../Runtime/Basic Tasks/Behaviour/GetIsEnabled.cs | 35 ----- .../Basic Tasks/Behaviour/GetIsEnabled.cs.meta | 8 -- .../Runtime/Basic Tasks/Behaviour/IsEnabled.cs | 29 ---- .../Basic Tasks/Behaviour/IsEnabled.cs.meta | 8 -- .../Runtime/Basic Tasks/Behaviour/SetIsEnabled.cs | 34 ----- .../Basic Tasks/Behaviour/SetIsEnabled.cs.meta | 8 -- .../Runtime/Basic Tasks/BoxCollider.meta | 4 - .../Runtime/Basic Tasks/BoxCollider/GetCenter.cs | 45 ------- .../Basic Tasks/BoxCollider/GetCenter.cs.meta | 8 -- .../Runtime/Basic Tasks/BoxCollider/GetSize.cs | 45 ------- .../Basic Tasks/BoxCollider/GetSize.cs.meta | 8 -- .../Runtime/Basic Tasks/BoxCollider/SetCenter.cs | 44 ------ .../Basic Tasks/BoxCollider/SetCenter.cs.meta | 8 -- .../Runtime/Basic Tasks/BoxCollider/SetSize.cs | 44 ------ .../Basic Tasks/BoxCollider/SetSize.cs.meta | 8 -- .../Runtime/Basic Tasks/BoxCollider2D.meta | 4 - .../Runtime/Basic Tasks/BoxCollider2D/GetSize.cs | 45 ------- .../Basic Tasks/BoxCollider2D/GetSize.cs.meta | 8 -- .../Runtime/Basic Tasks/BoxCollider2D/SetSize.cs | 44 ------ .../Basic Tasks/BoxCollider2D/SetSize.cs.meta | 8 -- .../Runtime/Basic Tasks/CapsuleCollider.meta | 4 - .../Basic Tasks/CapsuleCollider/GetCenter.cs | 45 ------- .../Basic Tasks/CapsuleCollider/GetCenter.cs.meta | 8 -- .../Basic Tasks/CapsuleCollider/GetDirection.cs | 45 ------- .../CapsuleCollider/GetDirection.cs.meta | 8 -- .../Basic Tasks/CapsuleCollider/GetHeight.cs | 45 ------- .../Basic Tasks/CapsuleCollider/GetHeight.cs.meta | 8 -- .../Basic Tasks/CapsuleCollider/GetRadius.cs | 45 ------- .../Basic Tasks/CapsuleCollider/GetRadius.cs.meta | 8 -- .../Basic Tasks/CapsuleCollider/SetCenter.cs | 44 ------ .../Basic Tasks/CapsuleCollider/SetCenter.cs.meta | 8 -- .../Basic Tasks/CapsuleCollider/SetDirection.cs | 44 ------ .../CapsuleCollider/SetDirection.cs.meta | 8 -- .../Basic Tasks/CapsuleCollider/SetHeight.cs | 44 ------ .../Basic Tasks/CapsuleCollider/SetHeight.cs.meta | 8 -- .../Basic Tasks/CapsuleCollider/SetRadius.cs | 44 ------ .../Basic Tasks/CapsuleCollider/SetRadius.cs.meta | 8 -- .../Runtime/Basic Tasks/CharacterController.meta | 4 - .../Basic Tasks/CharacterController/GetCenter.cs | 45 ------- .../CharacterController/GetCenter.cs.meta | 8 -- .../Basic Tasks/CharacterController/GetHeight.cs | 44 ------ .../CharacterController/GetHeight.cs.meta | 8 -- .../Basic Tasks/CharacterController/GetRadius.cs | 45 ------- .../CharacterController/GetRadius.cs.meta | 8 -- .../CharacterController/GetSlopeLimit.cs | 45 ------- .../CharacterController/GetSlopeLimit.cs.meta | 8 -- .../CharacterController/GetStepOffset.cs | 45 ------- .../CharacterController/GetStepOffset.cs.meta | 8 -- .../Basic Tasks/CharacterController/GetVelocity.cs | 45 ------- .../CharacterController/GetVelocity.cs.meta | 8 -- .../CharacterController/HasColliderHit.cs | 43 ------ .../CharacterController/HasColliderHit.cs.meta | 8 -- .../Basic Tasks/CharacterController/IsGrounded.cs | 39 ------ .../CharacterController/IsGrounded.cs.meta | 8 -- .../Basic Tasks/CharacterController/Move.cs | 44 ------ .../Basic Tasks/CharacterController/Move.cs.meta | 8 -- .../Basic Tasks/CharacterController/SetCenter.cs | 44 ------ .../CharacterController/SetCenter.cs.meta | 8 -- .../Basic Tasks/CharacterController/SetHeight.cs | 44 ------ .../CharacterController/SetHeight.cs.meta | 8 -- .../Basic Tasks/CharacterController/SetRadius.cs | 44 ------ .../CharacterController/SetRadius.cs.meta | 8 -- .../CharacterController/SetSlopeLimit.cs | 44 ------ .../CharacterController/SetSlopeLimit.cs.meta | 8 -- .../CharacterController/SetStepOffset.cs | 44 ------ .../CharacterController/SetStepOffset.cs.meta | 8 -- .../Basic Tasks/CharacterController/SimpleMove.cs | 44 ------ .../CharacterController/SimpleMove.cs.meta | 8 -- .../Runtime/Basic Tasks/CircleCollider2D.meta | 4 - .../Basic Tasks/CircleCollider2D/GetCenter.cs | 47 ------- .../Basic Tasks/CircleCollider2D/GetCenter.cs.meta | 8 -- .../Basic Tasks/CircleCollider2D/GetRadius.cs | 45 ------- .../Basic Tasks/CircleCollider2D/GetRadius.cs.meta | 8 -- .../Basic Tasks/CircleCollider2D/SetCenter.cs | 46 ------- .../Basic Tasks/CircleCollider2D/SetCenter.cs.meta | 8 -- .../Basic Tasks/CircleCollider2D/SetRadius.cs | 44 ------ .../Basic Tasks/CircleCollider2D/SetRadius.cs.meta | 8 -- .../Runtime/Basic Tasks/Debug.meta | 4 - .../Runtime/Basic Tasks/Debug/DrawLine.cs | 36 ----- .../Runtime/Basic Tasks/Debug/DrawLine.cs.meta | 8 -- .../Runtime/Basic Tasks/Debug/DrawRay.cs | 30 ----- .../Runtime/Basic Tasks/Debug/DrawRay.cs.meta | 8 -- .../Runtime/Basic Tasks/Debug/LogFormat.cs | 76 ----------- .../Runtime/Basic Tasks/Debug/LogFormat.cs.meta | 8 -- .../Runtime/Basic Tasks/Debug/LogValue.cs | 24 ---- .../Runtime/Basic Tasks/Debug/LogValue.cs.meta | 8 -- .../Runtime/Basic Tasks/GameObject.meta | 4 - .../Basic Tasks/GameObject/ActiveInHierarchy.cs | 22 --- .../GameObject/ActiveInHierarchy.cs.meta | 8 -- .../Runtime/Basic Tasks/GameObject/ActiveSelf.cs | 22 --- .../Basic Tasks/GameObject/ActiveSelf.cs.meta | 8 -- .../Runtime/Basic Tasks/GameObject/CompareTag.cs | 25 ---- .../Basic Tasks/GameObject/CompareTag.cs.meta | 8 -- .../Runtime/Basic Tasks/GameObject/Destroy.cs | 32 ----- .../Runtime/Basic Tasks/GameObject/Destroy.cs.meta | 8 -- .../Basic Tasks/GameObject/DestroyImmediate.cs | 25 ---- .../GameObject/DestroyImmediate.cs.meta | 8 -- .../Runtime/Basic Tasks/GameObject/Find.cs | 28 ---- .../Runtime/Basic Tasks/GameObject/Find.cs.meta | 8 -- .../GameObject/FindGameObjectsWithTag.cs | 31 ----- .../GameObject/FindGameObjectsWithTag.cs.meta | 8 -- .../Runtime/Basic Tasks/GameObject/FindWithTag.cs | 28 ---- .../Basic Tasks/GameObject/FindWithTag.cs.meta | 8 -- .../Runtime/Basic Tasks/GameObject/GetComponent.cs | 31 ----- .../Basic Tasks/GameObject/GetComponent.cs.meta | 8 -- .../Runtime/Basic Tasks/GameObject/GetTag.cs | 28 ---- .../Runtime/Basic Tasks/GameObject/GetTag.cs.meta | 8 -- .../Runtime/Basic Tasks/GameObject/Instantiate.cs | 33 ----- .../Basic Tasks/GameObject/Instantiate.cs.meta | 8 -- .../Runtime/Basic Tasks/GameObject/SendMessage.cs | 33 ----- .../Basic Tasks/GameObject/SendMessage.cs.meta | 8 -- .../Runtime/Basic Tasks/GameObject/SetActive.cs | 27 ---- .../Basic Tasks/GameObject/SetActive.cs.meta | 8 -- .../Runtime/Basic Tasks/GameObject/SetTag.cs | 27 ---- .../Runtime/Basic Tasks/GameObject/SetTag.cs.meta | 8 -- .../Runtime/Basic Tasks/Input.meta | 4 - .../Runtime/Basic Tasks/Input/GetAcceleration.cs | 24 ---- .../Basic Tasks/Input/GetAcceleration.cs.meta | 8 -- .../Runtime/Basic Tasks/Input/GetAxis.cs | 37 ----- .../Runtime/Basic Tasks/Input/GetAxis.cs.meta | 8 -- .../Runtime/Basic Tasks/Input/GetAxisRaw.cs | 37 ----- .../Runtime/Basic Tasks/Input/GetAxisRaw.cs.meta | 8 -- .../Runtime/Basic Tasks/Input/GetButton.cs | 27 ---- .../Runtime/Basic Tasks/Input/GetButton.cs.meta | 8 -- .../Runtime/Basic Tasks/Input/GetKey.cs | 27 ---- .../Runtime/Basic Tasks/Input/GetKey.cs.meta | 8 -- .../Runtime/Basic Tasks/Input/GetMouseButton.cs | 27 ---- .../Basic Tasks/Input/GetMouseButton.cs.meta | 8 -- .../Runtime/Basic Tasks/Input/GetMousePosition.cs | 24 ---- .../Basic Tasks/Input/GetMousePosition.cs.meta | 8 -- .../Runtime/Basic Tasks/Input/IsButtonDown.cs | 22 --- .../Runtime/Basic Tasks/Input/IsButtonDown.cs.meta | 8 -- .../Runtime/Basic Tasks/Input/IsButtonUp.cs | 22 --- .../Runtime/Basic Tasks/Input/IsButtonUp.cs.meta | 8 -- .../Runtime/Basic Tasks/Input/IsKeyDown.cs | 22 --- .../Runtime/Basic Tasks/Input/IsKeyDown.cs.meta | 8 -- .../Runtime/Basic Tasks/Input/IsKeyUp.cs | 22 --- .../Runtime/Basic Tasks/Input/IsKeyUp.cs.meta | 8 -- .../Runtime/Basic Tasks/Input/IsMouseDown.cs | 22 --- .../Runtime/Basic Tasks/Input/IsMouseDown.cs.meta | 8 -- .../Runtime/Basic Tasks/Input/IsMouseUp.cs | 22 --- .../Runtime/Basic Tasks/Input/IsMouseUp.cs.meta | 8 -- .../Runtime/Basic Tasks/LayerMask.meta | 5 - .../Runtime/Basic Tasks/LayerMask/GetLayer.cs | 28 ---- .../Runtime/Basic Tasks/LayerMask/GetLayer.cs.meta | 8 -- .../Runtime/Basic Tasks/LayerMask/SetLayer.cs | 27 ---- .../Runtime/Basic Tasks/LayerMask/SetLayer.cs.meta | 8 -- .../Runtime/Basic Tasks/Light.meta | 4 - .../Runtime/Basic Tasks/Light/GetColor.cs | 45 ------- .../Runtime/Basic Tasks/Light/GetColor.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/GetCookieSize.cs | 45 ------- .../Basic Tasks/Light/GetCookieSize.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/GetIntensity.cs | 45 ------- .../Runtime/Basic Tasks/Light/GetIntensity.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/GetRange.cs | 45 ------- .../Runtime/Basic Tasks/Light/GetRange.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/GetShadowBias.cs | 45 ------- .../Basic Tasks/Light/GetShadowBias.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/GetShadowStrength.cs | 45 ------- .../Basic Tasks/Light/GetShadowStrength.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/GetSpotAngle.cs | 45 ------- .../Runtime/Basic Tasks/Light/GetSpotAngle.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/SetColor.cs | 44 ------ .../Runtime/Basic Tasks/Light/SetColor.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/SetCookie.cs | 44 ------ .../Runtime/Basic Tasks/Light/SetCookie.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/SetCookieSize.cs | 44 ------ .../Basic Tasks/Light/SetCookieSize.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/SetCullingMask.cs | 44 ------ .../Basic Tasks/Light/SetCullingMask.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/SetIntensity.cs | 44 ------ .../Runtime/Basic Tasks/Light/SetIntensity.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/SetRange.cs | 44 ------ .../Runtime/Basic Tasks/Light/SetRange.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/SetShadowBias.cs | 44 ------ .../Basic Tasks/Light/SetShadowBias.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/SetShadowSoftness.cs | 46 ------- .../Basic Tasks/Light/SetShadowSoftness.cs.meta | 8 -- .../Basic Tasks/Light/SetShadowSoftnessFade.cs | 46 ------- .../Light/SetShadowSoftnessFade.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/SetShadowStrength.cs | 44 ------ .../Basic Tasks/Light/SetShadowStrength.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/SetShadows.cs | 43 ------ .../Runtime/Basic Tasks/Light/SetShadows.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/SetSpotAngle.cs | 44 ------ .../Runtime/Basic Tasks/Light/SetSpotAngle.cs.meta | 8 -- .../Runtime/Basic Tasks/Light/SetType.cs | 43 ------ .../Runtime/Basic Tasks/Light/SetType.cs.meta | 8 -- .../Runtime/Basic Tasks/Math.meta | 4 - .../Runtime/Basic Tasks/Math/BoolComparison.cs | 23 ---- .../Basic Tasks/Math/BoolComparison.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/BoolFlip.cs | 21 --- .../Runtime/Basic Tasks/Math/BoolFlip.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/BoolOperator.cs | 51 ------- .../Runtime/Basic Tasks/Math/BoolOperator.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/FloatAbs.cs | 23 ---- .../Runtime/Basic Tasks/Math/FloatAbs.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/FloatClamp.cs | 27 ---- .../Runtime/Basic Tasks/Math/FloatClamp.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/FloatComparison.cs | 50 ------- .../Basic Tasks/Math/FloatComparison.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/FloatOperator.cs | 65 --------- .../Runtime/Basic Tasks/Math/FloatOperator.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/IntAbs.cs | 23 ---- .../Runtime/Basic Tasks/Math/IntAbs.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/IntClamp.cs | 27 ---- .../Runtime/Basic Tasks/Math/IntClamp.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/IntComparison.cs | 50 ------- .../Runtime/Basic Tasks/Math/IntComparison.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/IntOperator.cs | 66 --------- .../Runtime/Basic Tasks/Math/IntOperator.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/IsFloatPositive.cs | 20 --- .../Basic Tasks/Math/IsFloatPositive.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/IsIntPositive.cs | 20 --- .../Runtime/Basic Tasks/Math/IsIntPositive.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/Lerp.cs | 30 ----- .../Runtime/Basic Tasks/Math/Lerp.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/LerpAngle.cs | 30 ----- .../Runtime/Basic Tasks/Math/LerpAngle.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/RandomBool.cs | 23 ---- .../Runtime/Basic Tasks/Math/RandomBool.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/RandomFloat.cs | 36 ----- .../Runtime/Basic Tasks/Math/RandomFloat.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/RandomInt.cs | 36 ----- .../Runtime/Basic Tasks/Math/RandomInt.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/SetBool.cs | 24 ---- .../Runtime/Basic Tasks/Math/SetBool.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/SetFloat.cs | 24 ---- .../Runtime/Basic Tasks/Math/SetFloat.cs.meta | 8 -- .../Runtime/Basic Tasks/Math/SetInt.cs | 24 ---- .../Runtime/Basic Tasks/Math/SetInt.cs.meta | 8 -- .../Runtime/Basic Tasks/NavMeshAgent.meta | 5 - .../Basic Tasks/NavMeshAgent/GetAcceleration.cs | 49 ------- .../NavMeshAgent/GetAcceleration.cs.meta | 8 -- .../Basic Tasks/NavMeshAgent/GetAngularSpeed.cs | 49 ------- .../NavMeshAgent/GetAngularSpeed.cs.meta | 8 -- .../Basic Tasks/NavMeshAgent/GetDestination.cs | 49 ------- .../NavMeshAgent/GetDestination.cs.meta | 8 -- .../NavMeshAgent/GetRemainingDistance.cs | 49 ------- .../NavMeshAgent/GetRemainingDistance.cs.meta | 8 -- .../Runtime/Basic Tasks/NavMeshAgent/GetSpeed.cs | 49 ------- .../Basic Tasks/NavMeshAgent/GetSpeed.cs.meta | 8 -- .../Runtime/Basic Tasks/NavMeshAgent/Move.cs | 48 ------- .../Runtime/Basic Tasks/NavMeshAgent/Move.cs.meta | 8 -- .../Runtime/Basic Tasks/NavMeshAgent/ResetPath.cs | 45 ------- .../Basic Tasks/NavMeshAgent/ResetPath.cs.meta | 8 -- .../Runtime/Basic Tasks/NavMeshAgent/Resume.cs | 49 ------- .../Basic Tasks/NavMeshAgent/Resume.cs.meta | 8 -- .../Basic Tasks/NavMeshAgent/SetAcceleration.cs | 48 ------- .../NavMeshAgent/SetAcceleration.cs.meta | 8 -- .../Basic Tasks/NavMeshAgent/SetAngularSpeed.cs | 48 ------- .../NavMeshAgent/SetAngularSpeed.cs.meta | 8 -- .../Basic Tasks/NavMeshAgent/SetDestination.cs | 47 ------- .../NavMeshAgent/SetDestination.cs.meta | 8 -- .../Runtime/Basic Tasks/NavMeshAgent/SetSpeed.cs | 48 ------- .../Basic Tasks/NavMeshAgent/SetSpeed.cs.meta | 8 -- .../Runtime/Basic Tasks/NavMeshAgent/Stop.cs | 49 ------- .../Runtime/Basic Tasks/NavMeshAgent/Stop.cs.meta | 8 -- .../Runtime/Basic Tasks/NavMeshAgent/Warp.cs | 48 ------- .../Runtime/Basic Tasks/NavMeshAgent/Warp.cs.meta | 8 -- .../Runtime/Basic Tasks/Network.meta | 5 - .../Runtime/Basic Tasks/Network/IsClient.cs | 12 -- .../Runtime/Basic Tasks/Network/IsClient.cs.meta | 12 -- .../Runtime/Basic Tasks/Network/IsServer.cs | 12 -- .../Runtime/Basic Tasks/Network/IsServer.cs.meta | 12 -- .../Runtime/Basic Tasks/ParticleSystem.meta | 4 - .../Runtime/Basic Tasks/ParticleSystem/Clear.cs | 41 ------ .../Basic Tasks/ParticleSystem/Clear.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/GetDuration.cs | 49 ------- .../Basic Tasks/ParticleSystem/GetDuration.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/GetEmissionRate.cs | 49 ------- .../ParticleSystem/GetEmissionRate.cs.meta | 8 -- .../ParticleSystem/GetEnableEmission.cs | 49 ------- .../ParticleSystem/GetEnableEmission.cs.meta | 8 -- .../ParticleSystem/GetGravityModifier.cs | 47 ------- .../ParticleSystem/GetGravityModifier.cs.meta | 8 -- .../Runtime/Basic Tasks/ParticleSystem/GetLoop.cs | 49 ------- .../Basic Tasks/ParticleSystem/GetLoop.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/GetMaxParticles.cs | 49 ------- .../ParticleSystem/GetMaxParticles.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/GetParticleCount.cs | 45 ------- .../ParticleSystem/GetParticleCount.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/GetPlaybackSpeed.cs | 50 ------- .../ParticleSystem/GetPlaybackSpeed.cs.meta | 8 -- .../Runtime/Basic Tasks/ParticleSystem/GetTime.cs | 45 ------- .../Basic Tasks/ParticleSystem/GetTime.cs.meta | 8 -- .../Runtime/Basic Tasks/ParticleSystem/IsAlive.cs | 39 ------ .../Basic Tasks/ParticleSystem/IsAlive.cs.meta | 8 -- .../Runtime/Basic Tasks/ParticleSystem/IsPaused.cs | 39 ------ .../Basic Tasks/ParticleSystem/IsPaused.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/IsPlaying.cs | 39 ------ .../Basic Tasks/ParticleSystem/IsPlaying.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/IsStopped.cs | 39 ------ .../Basic Tasks/ParticleSystem/IsStopped.cs.meta | 8 -- .../Runtime/Basic Tasks/ParticleSystem/Pause.cs | 41 ------ .../Basic Tasks/ParticleSystem/Pause.cs.meta | 8 -- .../Runtime/Basic Tasks/ParticleSystem/Play.cs | 41 ------ .../Basic Tasks/ParticleSystem/Play.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/SetEmissionRate.cs | 48 ------- .../ParticleSystem/SetEmissionRate.cs.meta | 8 -- .../ParticleSystem/SetEnableEmission.cs | 49 ------- .../ParticleSystem/SetEnableEmission.cs.meta | 8 -- .../ParticleSystem/SetGravityModifier.cs | 46 ------- .../ParticleSystem/SetGravityModifier.cs.meta | 8 -- .../Runtime/Basic Tasks/ParticleSystem/SetLoop.cs | 49 ------- .../Basic Tasks/ParticleSystem/SetLoop.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/SetMaxParticles.cs | 48 ------- .../ParticleSystem/SetMaxParticles.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs | 49 ------- .../ParticleSystem/SetPlaybackSpeed.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/SetStartColor.cs | 49 ------- .../ParticleSystem/SetStartColor.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/SetStartDelay.cs | 49 ------- .../ParticleSystem/SetStartDelay.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/SetStartLifetime.cs | 49 ------- .../ParticleSystem/SetStartLifetime.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/SetStartRotation.cs | 49 ------- .../ParticleSystem/SetStartRotation.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/SetStartSize.cs | 49 ------- .../ParticleSystem/SetStartSize.cs.meta | 8 -- .../Basic Tasks/ParticleSystem/SetStartSpeed.cs | 49 ------- .../ParticleSystem/SetStartSpeed.cs.meta | 8 -- .../Runtime/Basic Tasks/ParticleSystem/SetTime.cs | 44 ------ .../Basic Tasks/ParticleSystem/SetTime.cs.meta | 8 -- .../Runtime/Basic Tasks/ParticleSystem/Simulate.cs | 44 ------ .../Basic Tasks/ParticleSystem/Simulate.cs.meta | 8 -- .../Runtime/Basic Tasks/ParticleSystem/Stop.cs | 41 ------ .../Basic Tasks/ParticleSystem/Stop.cs.meta | 8 -- .../Runtime/Basic Tasks/Physics.meta | 4 - .../Runtime/Basic Tasks/Physics/Linecast.cs | 29 ---- .../Runtime/Basic Tasks/Physics/Linecast.cs.meta | 8 -- .../Runtime/Basic Tasks/Physics/Raycast.cs | 71 ---------- .../Runtime/Basic Tasks/Physics/Raycast.cs.meta | 8 -- .../Runtime/Basic Tasks/Physics/Spherecast.cs | 74 ---------- .../Runtime/Basic Tasks/Physics/Spherecast.cs.meta | 8 -- .../Runtime/Basic Tasks/Physics2D.meta | 4 - .../Runtime/Basic Tasks/Physics2D/Circlecast.cs | 73 ---------- .../Basic Tasks/Physics2D/Circlecast.cs.meta | 8 -- .../Runtime/Basic Tasks/Physics2D/Linecast.cs | 29 ---- .../Runtime/Basic Tasks/Physics2D/Linecast.cs.meta | 8 -- .../Runtime/Basic Tasks/Physics2D/Raycast.cs | 72 ---------- .../Runtime/Basic Tasks/Physics2D/Raycast.cs.meta | 8 -- .../Runtime/Basic Tasks/PlayerPrefs.meta | 4 - .../Runtime/Basic Tasks/PlayerPrefs/DeleteAll.cs | 16 --- .../Basic Tasks/PlayerPrefs/DeleteAll.cs.meta | 8 -- .../Runtime/Basic Tasks/PlayerPrefs/DeleteKey.cs | 24 ---- .../Basic Tasks/PlayerPrefs/DeleteKey.cs.meta | 8 -- .../Runtime/Basic Tasks/PlayerPrefs/GetFloat.cs | 31 ----- .../Basic Tasks/PlayerPrefs/GetFloat.cs.meta | 8 -- .../Runtime/Basic Tasks/PlayerPrefs/GetInt.cs | 31 ----- .../Runtime/Basic Tasks/PlayerPrefs/GetInt.cs.meta | 8 -- .../Runtime/Basic Tasks/PlayerPrefs/GetString.cs | 31 ----- .../Basic Tasks/PlayerPrefs/GetString.cs.meta | 8 -- .../Runtime/Basic Tasks/PlayerPrefs/HasKey.cs | 22 --- .../Runtime/Basic Tasks/PlayerPrefs/HasKey.cs.meta | 8 -- .../Runtime/Basic Tasks/PlayerPrefs/Save.cs | 16 --- .../Runtime/Basic Tasks/PlayerPrefs/Save.cs.meta | 8 -- .../Runtime/Basic Tasks/PlayerPrefs/SetFloat.cs | 27 ---- .../Basic Tasks/PlayerPrefs/SetFloat.cs.meta | 8 -- .../Runtime/Basic Tasks/PlayerPrefs/SetInt.cs | 27 ---- .../Runtime/Basic Tasks/PlayerPrefs/SetInt.cs.meta | 8 -- .../Runtime/Basic Tasks/PlayerPrefs/SetString.cs | 27 ---- .../Basic Tasks/PlayerPrefs/SetString.cs.meta | 8 -- .../Runtime/Basic Tasks/Quaternion.meta | 4 - .../Runtime/Basic Tasks/Quaternion/Angle.cs | 29 ---- .../Runtime/Basic Tasks/Quaternion/Angle.cs.meta | 8 -- .../Runtime/Basic Tasks/Quaternion/AngleAxis.cs | 30 ----- .../Basic Tasks/Quaternion/AngleAxis.cs.meta | 8 -- .../Runtime/Basic Tasks/Quaternion/Dot.cs | 29 ---- .../Runtime/Basic Tasks/Quaternion/Dot.cs.meta | 8 -- .../Runtime/Basic Tasks/Quaternion/Euler.cs | 27 ---- .../Runtime/Basic Tasks/Quaternion/Euler.cs.meta | 8 -- .../Basic Tasks/Quaternion/FromToRotation.cs | 29 ---- .../Basic Tasks/Quaternion/FromToRotation.cs.meta | 8 -- .../Runtime/Basic Tasks/Quaternion/Identity.cs | 24 ---- .../Basic Tasks/Quaternion/Identity.cs.meta | 8 -- .../Runtime/Basic Tasks/Quaternion/Inverse.cs | 26 ---- .../Runtime/Basic Tasks/Quaternion/Inverse.cs.meta | 8 -- .../Runtime/Basic Tasks/Quaternion/Lerp.cs | 31 ----- .../Runtime/Basic Tasks/Quaternion/Lerp.cs.meta | 8 -- .../Runtime/Basic Tasks/Quaternion/LookRotation.cs | 29 ---- .../Basic Tasks/Quaternion/LookRotation.cs.meta | 8 -- .../Basic Tasks/Quaternion/RotateTowards.cs | 31 ----- .../Basic Tasks/Quaternion/RotateTowards.cs.meta | 8 -- .../Runtime/Basic Tasks/Quaternion/Slerp.cs | 31 ----- .../Runtime/Basic Tasks/Quaternion/Slerp.cs.meta | 8 -- .../Runtime/Basic Tasks/Renderer.meta | 4 - .../Runtime/Basic Tasks/Renderer/IsVisible.cs | 40 ------ .../Runtime/Basic Tasks/Renderer/IsVisible.cs.meta | 8 -- .../Runtime/Basic Tasks/Renderer/SetMaterial.cs | 44 ------ .../Basic Tasks/Renderer/SetMaterial.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody.meta | 4 - .../Basic Tasks/Rigidbody/AddExplosionForce.cs | 57 -------- .../Rigidbody/AddExplosionForce.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/AddForce.cs | 51 ------- .../Runtime/Basic Tasks/Rigidbody/AddForce.cs.meta | 8 -- .../Basic Tasks/Rigidbody/AddForceAtPosition.cs | 51 ------- .../Rigidbody/AddForceAtPosition.cs.meta | 8 -- .../Basic Tasks/Rigidbody/AddRelativeForce.cs | 48 ------- .../Basic Tasks/Rigidbody/AddRelativeForce.cs.meta | 8 -- .../Basic Tasks/Rigidbody/AddRelativeTorque.cs | 43 ------ .../Rigidbody/AddRelativeTorque.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/AddTorque.cs | 48 ------- .../Basic Tasks/Rigidbody/AddTorque.cs.meta | 8 -- .../Basic Tasks/Rigidbody/GetAngularDrag.cs | 46 ------- .../Basic Tasks/Rigidbody/GetAngularDrag.cs.meta | 8 -- .../Basic Tasks/Rigidbody/GetAngularVelocity.cs | 46 ------- .../Rigidbody/GetAngularVelocity.cs.meta | 8 -- .../Basic Tasks/Rigidbody/GetCenterOfMass.cs | 46 ------- .../Basic Tasks/Rigidbody/GetCenterOfMass.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/GetDrag.cs | 46 ------- .../Runtime/Basic Tasks/Rigidbody/GetDrag.cs.meta | 8 -- .../Basic Tasks/Rigidbody/GetFreezeRotation.cs | 46 ------- .../Rigidbody/GetFreezeRotation.cs.meta | 8 -- .../Basic Tasks/Rigidbody/GetIsKinematic.cs | 46 ------- .../Basic Tasks/Rigidbody/GetIsKinematic.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/GetMass.cs | 46 ------- .../Runtime/Basic Tasks/Rigidbody/GetMass.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/GetPosition.cs | 46 ------- .../Basic Tasks/Rigidbody/GetPosition.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/GetRotation.cs | 46 ------- .../Basic Tasks/Rigidbody/GetRotation.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/GetUseGravity.cs | 46 ------- .../Basic Tasks/Rigidbody/GetUseGravity.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/GetVelocity.cs | 46 ------- .../Basic Tasks/Rigidbody/GetVelocity.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/IsKinematic.cs | 40 ------ .../Basic Tasks/Rigidbody/IsKinematic.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/IsSleeping.cs | 40 ------ .../Basic Tasks/Rigidbody/IsSleeping.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/MovePosition.cs | 45 ------- .../Basic Tasks/Rigidbody/MovePosition.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/MoveRotation.cs | 45 ------- .../Basic Tasks/Rigidbody/MoveRotation.cs.meta | 8 -- .../Basic Tasks/Rigidbody/SetAngularDrag.cs | 45 ------- .../Basic Tasks/Rigidbody/SetAngularDrag.cs.meta | 8 -- .../Basic Tasks/Rigidbody/SetAngularVelocity.cs | 45 ------- .../Rigidbody/SetAngularVelocity.cs.meta | 8 -- .../Basic Tasks/Rigidbody/SetCenterOfMass.cs | 45 ------- .../Basic Tasks/Rigidbody/SetCenterOfMass.cs.meta | 8 -- .../Basic Tasks/Rigidbody/SetConstraints.cs | 45 ------- .../Basic Tasks/Rigidbody/SetConstraints.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/SetDrag.cs | 45 ------- .../Runtime/Basic Tasks/Rigidbody/SetDrag.cs.meta | 8 -- .../Basic Tasks/Rigidbody/SetFreezeRotation.cs | 45 ------- .../Rigidbody/SetFreezeRotation.cs.meta | 8 -- .../Basic Tasks/Rigidbody/SetIsKinematic.cs | 45 ------- .../Basic Tasks/Rigidbody/SetIsKinematic.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/SetMass.cs | 45 ------- .../Runtime/Basic Tasks/Rigidbody/SetMass.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/SetPosition.cs | 45 ------- .../Basic Tasks/Rigidbody/SetPosition.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/SetRotation.cs | 45 ------- .../Basic Tasks/Rigidbody/SetRotation.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/SetUseGravity.cs | 45 ------- .../Basic Tasks/Rigidbody/SetUseGravity.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/SetVelocity.cs | 45 ------- .../Basic Tasks/Rigidbody/SetVelocity.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/Sleep.cs | 42 ------ .../Runtime/Basic Tasks/Rigidbody/Sleep.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/UseGravity.cs | 40 ------ .../Basic Tasks/Rigidbody/UseGravity.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody/WakeUp.cs | 42 ------ .../Runtime/Basic Tasks/Rigidbody/WakeUp.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D.meta | 4 - .../Runtime/Basic Tasks/Rigidbody2D/AddForce.cs | 44 ------ .../Basic Tasks/Rigidbody2D/AddForce.cs.meta | 8 -- .../Basic Tasks/Rigidbody2D/AddForceAtPosition.cs | 47 ------- .../Rigidbody2D/AddForceAtPosition.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D/AddTorque.cs | 44 ------ .../Basic Tasks/Rigidbody2D/AddTorque.cs.meta | 8 -- .../Basic Tasks/Rigidbody2D/GetAngularDrag.cs | 45 ------- .../Basic Tasks/Rigidbody2D/GetAngularDrag.cs.meta | 8 -- .../Basic Tasks/Rigidbody2D/GetAngularVelocity.cs | 45 ------- .../Rigidbody2D/GetAngularVelocity.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D/GetDrag.cs | 45 ------- .../Basic Tasks/Rigidbody2D/GetDrag.cs.meta | 8 -- .../Basic Tasks/Rigidbody2D/GetGravtyScale.cs | 45 ------- .../Basic Tasks/Rigidbody2D/GetGravtyScale.cs.meta | 8 -- .../Basic Tasks/Rigidbody2D/GetIsKinematic.cs | 45 ------- .../Basic Tasks/Rigidbody2D/GetIsKinematic.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D/GetMass.cs | 45 ------- .../Basic Tasks/Rigidbody2D/GetMass.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D/GetPosition.cs | 45 ------- .../Basic Tasks/Rigidbody2D/GetPosition.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D/GetRotation.cs | 45 ------- .../Basic Tasks/Rigidbody2D/GetRotation.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D/GetVelocity.cs | 45 ------- .../Basic Tasks/Rigidbody2D/GetVelocity.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D/IsKinematic.cs | 39 ------ .../Basic Tasks/Rigidbody2D/IsKinematic.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D/IsSleeping.cs | 39 ------ .../Basic Tasks/Rigidbody2D/IsSleeping.cs.meta | 8 -- .../Basic Tasks/Rigidbody2D/MovePosition.cs | 45 ------- .../Basic Tasks/Rigidbody2D/MovePosition.cs.meta | 8 -- .../Basic Tasks/Rigidbody2D/MoveRotation.cs | 45 ------- .../Basic Tasks/Rigidbody2D/MoveRotation.cs.meta | 8 -- .../Basic Tasks/Rigidbody2D/SetAngularDrag.cs | 44 ------ .../Basic Tasks/Rigidbody2D/SetAngularDrag.cs.meta | 8 -- .../Basic Tasks/Rigidbody2D/SetAngularVelocity.cs | 44 ------ .../Rigidbody2D/SetAngularVelocity.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D/SetDrag.cs | 44 ------ .../Basic Tasks/Rigidbody2D/SetDrag.cs.meta | 8 -- .../Basic Tasks/Rigidbody2D/SetGravityScale.cs | 44 ------ .../Rigidbody2D/SetGravityScale.cs.meta | 8 -- .../Basic Tasks/Rigidbody2D/SetIsKinematic.cs | 44 ------ .../Basic Tasks/Rigidbody2D/SetIsKinematic.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D/SetMass.cs | 44 ------ .../Basic Tasks/Rigidbody2D/SetMass.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D/SetVelocity.cs | 44 ------ .../Basic Tasks/Rigidbody2D/SetVelocity.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D/Sleep.cs | 41 ------ .../Runtime/Basic Tasks/Rigidbody2D/Sleep.cs.meta | 8 -- .../Runtime/Basic Tasks/Rigidbody2D/WakeUp.cs | 41 ------ .../Runtime/Basic Tasks/Rigidbody2D/WakeUp.cs.meta | 8 -- .../Runtime/Basic Tasks/SharedVariables.meta | 4 - .../SharedVariables/CompareSharedBool.cs | 23 ---- .../SharedVariables/CompareSharedBool.cs.meta | 8 -- .../SharedVariables/CompareSharedColor.cs | 25 ---- .../SharedVariables/CompareSharedColor.cs.meta | 8 -- .../SharedVariables/CompareSharedFloat.cs | 23 ---- .../SharedVariables/CompareSharedFloat.cs.meta | 8 -- .../SharedVariables/CompareSharedGameObject.cs | 30 ----- .../CompareSharedGameObject.cs.meta | 8 -- .../SharedVariables/CompareSharedGameObjectList.cs | 35 ----- .../CompareSharedGameObjectList.cs.meta | 8 -- .../SharedVariables/CompareSharedInt.cs | 23 ---- .../SharedVariables/CompareSharedInt.cs.meta | 8 -- .../SharedVariables/CompareSharedObject.cs | 30 ----- .../SharedVariables/CompareSharedObject.cs.meta | 8 -- .../SharedVariables/CompareSharedObjectList.cs | 35 ----- .../CompareSharedObjectList.cs.meta | 8 -- .../SharedVariables/CompareSharedQuaternion.cs | 25 ---- .../CompareSharedQuaternion.cs.meta | 8 -- .../SharedVariables/CompareSharedRect.cs | 25 ---- .../SharedVariables/CompareSharedRect.cs.meta | 8 -- .../SharedVariables/CompareSharedString.cs | 23 ---- .../SharedVariables/CompareSharedString.cs.meta | 8 -- .../SharedVariables/CompareSharedTransform.cs | 30 ----- .../SharedVariables/CompareSharedTransform.cs.meta | 8 -- .../SharedVariables/CompareSharedTransformList.cs | 35 ----- .../CompareSharedTransformList.cs.meta | 8 -- .../SharedVariables/CompareSharedVector2.cs | 25 ---- .../SharedVariables/CompareSharedVector2.cs.meta | 8 -- .../SharedVariables/CompareSharedVector3.cs | 25 ---- .../SharedVariables/CompareSharedVector3.cs.meta | 8 -- .../SharedVariables/CompareSharedVector4.cs | 25 ---- .../SharedVariables/CompareSharedVector4.cs.meta | 8 -- .../Basic Tasks/SharedVariables/SetSharedBool.cs | 26 ---- .../SharedVariables/SetSharedBool.cs.meta | 8 -- .../Basic Tasks/SharedVariables/SetSharedColor.cs | 28 ---- .../SharedVariables/SetSharedColor.cs.meta | 8 -- .../Basic Tasks/SharedVariables/SetSharedFloat.cs | 26 ---- .../SharedVariables/SetSharedFloat.cs.meta | 8 -- .../SharedVariables/SetSharedGameObject.cs | 29 ---- .../SharedVariables/SetSharedGameObject.cs.meta | 8 -- .../SharedVariables/SetSharedGameObjectList.cs | 26 ---- .../SetSharedGameObjectList.cs.meta | 8 -- .../Basic Tasks/SharedVariables/SetSharedInt.cs | 26 ---- .../SharedVariables/SetSharedInt.cs.meta | 8 -- .../Basic Tasks/SharedVariables/SetSharedObject.cs | 26 ---- .../SharedVariables/SetSharedObject.cs.meta | 8 -- .../SharedVariables/SetSharedObjectList.cs | 26 ---- .../SharedVariables/SetSharedObjectList.cs.meta | 8 -- .../SharedVariables/SetSharedQuaternion.cs | 27 ---- .../SharedVariables/SetSharedQuaternion.cs.meta | 8 -- .../Basic Tasks/SharedVariables/SetSharedRect.cs | 28 ---- .../SharedVariables/SetSharedRect.cs.meta | 8 -- .../Basic Tasks/SharedVariables/SetSharedString.cs | 26 ---- .../SharedVariables/SetSharedString.cs.meta | 8 -- .../SharedVariables/SetSharedTransform.cs | 26 ---- .../SharedVariables/SetSharedTransform.cs.meta | 8 -- .../SharedVariables/SetSharedTransformList.cs | 26 ---- .../SharedVariables/SetSharedTransformList.cs.meta | 8 -- .../SharedVariables/SetSharedVector2.cs | 28 ---- .../SharedVariables/SetSharedVector2.cs.meta | 8 -- .../SharedVariables/SetSharedVector3.cs | 28 ---- .../SharedVariables/SetSharedVector3.cs.meta | 8 -- .../SharedVariables/SetSharedVector4.cs | 28 ---- .../SharedVariables/SetSharedVector4.cs.meta | 8 -- .../SharedVariables/SharedGameObjectToTransform.cs | 32 ----- .../SharedGameObjectToTransform.cs.meta | 8 -- .../SharedGameObjectsToGameObjectList.cs | 41 ------ .../SharedGameObjectsToGameObjectList.cs.meta | 8 -- .../SharedVariables/SharedTransformToGameObject.cs | 32 ----- .../SharedTransformToGameObject.cs.meta | 8 -- .../SharedTransformsToTransformList.cs | 41 ------ .../SharedTransformsToTransformList.cs.meta | 8 -- .../Runtime/Basic Tasks/SphereCollider.meta | 4 - .../Basic Tasks/SphereCollider/GetCenter.cs | 44 ------ .../Basic Tasks/SphereCollider/GetCenter.cs.meta | 8 -- .../Basic Tasks/SphereCollider/GetRadius.cs | 45 ------- .../Basic Tasks/SphereCollider/GetRadius.cs.meta | 8 -- .../Basic Tasks/SphereCollider/SetCenter.cs | 44 ------ .../Basic Tasks/SphereCollider/SetCenter.cs.meta | 8 -- .../Basic Tasks/SphereCollider/SetRadius.cs | 44 ------ .../Basic Tasks/SphereCollider/SetRadius.cs.meta | 8 -- .../Runtime/Basic Tasks/String.meta | 4 - .../Runtime/Basic Tasks/String/BuildString.cs | 28 ---- .../Runtime/Basic Tasks/String/BuildString.cs.meta | 8 -- .../Runtime/Basic Tasks/String/CompareTo.cs | 28 ---- .../Runtime/Basic Tasks/String/CompareTo.cs.meta | 8 -- .../Runtime/Basic Tasks/String/Format.cs | 47 ------- .../Runtime/Basic Tasks/String/Format.cs.meta | 8 -- .../Runtime/Basic Tasks/String/GetLength.cs | 25 ---- .../Runtime/Basic Tasks/String/GetLength.cs.meta | 8 -- .../Runtime/Basic Tasks/String/GetRandomString.cs | 28 ---- .../Basic Tasks/String/GetRandomString.cs.meta | 8 -- .../Runtime/Basic Tasks/String/GetSubstring.cs | 35 ----- .../Basic Tasks/String/GetSubstring.cs.meta | 8 -- .../Runtime/Basic Tasks/String/IsNullOrEmpty.cs | 20 --- .../Basic Tasks/String/IsNullOrEmpty.cs.meta | 8 -- .../Runtime/Basic Tasks/String/Replace.cs | 32 ----- .../Runtime/Basic Tasks/String/Replace.cs.meta | 8 -- .../Runtime/Basic Tasks/String/SetString.cs | 26 ---- .../Runtime/Basic Tasks/String/SetString.cs.meta | 8 -- .../Runtime/Basic Tasks/Time.meta | 4 - .../Runtime/Basic Tasks/Time/GetDeltaTime.cs | 23 ---- .../Runtime/Basic Tasks/Time/GetDeltaTime.cs.meta | 8 -- .../Basic Tasks/Time/GetRealtimeSinceStartup.cs | 23 ---- .../Time/GetRealtimeSinceStartup.cs.meta | 8 -- .../Runtime/Basic Tasks/Time/GetTime.cs | 23 ---- .../Runtime/Basic Tasks/Time/GetTime.cs.meta | 8 -- .../Runtime/Basic Tasks/Time/GetTimeScale.cs | 23 ---- .../Runtime/Basic Tasks/Time/GetTimeScale.cs.meta | 8 -- .../Runtime/Basic Tasks/Time/SetTimeScale.cs | 23 ---- .../Runtime/Basic Tasks/Time/SetTimeScale.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform.meta | 4 - .../Runtime/Basic Tasks/Transform/Find.cs | 48 ------- .../Runtime/Basic Tasks/Transform/Find.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/FindChild.cs | 48 ------- .../Basic Tasks/Transform/FindChild.cs.meta | 8 -- .../Basic Tasks/Transform/GetAngleToTarget.cs | 66 --------- .../Basic Tasks/Transform/GetAngleToTarget.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/GetChild.cs | 48 ------- .../Runtime/Basic Tasks/Transform/GetChild.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/GetChildCount.cs | 45 ------- .../Basic Tasks/Transform/GetChildCount.cs.meta | 8 -- .../Basic Tasks/Transform/GetEulerAngles.cs | 45 ------- .../Basic Tasks/Transform/GetEulerAngles.cs.meta | 8 -- .../Basic Tasks/Transform/GetForwardVector.cs | 45 ------- .../Basic Tasks/Transform/GetForwardVector.cs.meta | 8 -- .../Basic Tasks/Transform/GetLocalEulerAngles.cs | 45 ------- .../Transform/GetLocalEulerAngles.cs.meta | 8 -- .../Basic Tasks/Transform/GetLocalPosition.cs | 45 ------- .../Basic Tasks/Transform/GetLocalPosition.cs.meta | 8 -- .../Basic Tasks/Transform/GetLocalRotation.cs | 45 ------- .../Basic Tasks/Transform/GetLocalRotation.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/GetLocalScale.cs | 45 ------- .../Basic Tasks/Transform/GetLocalScale.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/GetParent.cs | 45 ------- .../Basic Tasks/Transform/GetParent.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/GetPosition.cs | 45 ------- .../Basic Tasks/Transform/GetPosition.cs.meta | 8 -- .../Basic Tasks/Transform/GetRightVector.cs | 45 ------- .../Basic Tasks/Transform/GetRightVector.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/GetRotation.cs | 45 ------- .../Basic Tasks/Transform/GetRotation.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/GetUpVector.cs | 45 ------- .../Basic Tasks/Transform/GetUpVector.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/IsChildOf.cs | 42 ------ .../Basic Tasks/Transform/IsChildOf.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/LookAt.cs | 47 ------- .../Runtime/Basic Tasks/Transform/LookAt.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/Rotate.cs | 47 ------- .../Runtime/Basic Tasks/Transform/Rotate.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/RotateAround.cs | 50 ------- .../Basic Tasks/Transform/RotateAround.cs.meta | 8 -- .../Basic Tasks/Transform/SetEulerAngles.cs | 44 ------ .../Basic Tasks/Transform/SetEulerAngles.cs.meta | 8 -- .../Basic Tasks/Transform/SetForwardVector.cs | 44 ------ .../Basic Tasks/Transform/SetForwardVector.cs.meta | 8 -- .../Basic Tasks/Transform/SetLocalEulerAngles.cs | 44 ------ .../Transform/SetLocalEulerAngles.cs.meta | 8 -- .../Basic Tasks/Transform/SetLocalPosition.cs | 44 ------ .../Basic Tasks/Transform/SetLocalPosition.cs.meta | 8 -- .../Basic Tasks/Transform/SetLocalRotation.cs | 44 ------ .../Basic Tasks/Transform/SetLocalRotation.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/SetLocalScale.cs | 44 ------ .../Basic Tasks/Transform/SetLocalScale.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/SetParent.cs | 44 ------ .../Basic Tasks/Transform/SetParent.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/SetPosition.cs | 44 ------ .../Basic Tasks/Transform/SetPosition.cs.meta | 8 -- .../Basic Tasks/Transform/SetRightVector.cs | 44 ------ .../Basic Tasks/Transform/SetRightVector.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/SetRotation.cs | 44 ------ .../Basic Tasks/Transform/SetRotation.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/SetUpVector.cs | 44 ------ .../Basic Tasks/Transform/SetUpVector.cs.meta | 8 -- .../Runtime/Basic Tasks/Transform/Translate.cs | 47 ------- .../Basic Tasks/Transform/Translate.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2.meta | 4 - .../Runtime/Basic Tasks/Vector2/ClampMagnitude.cs | 29 ---- .../Basic Tasks/Vector2/ClampMagnitude.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/Distance.cs | 29 ---- .../Runtime/Basic Tasks/Vector2/Distance.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/Dot.cs | 29 ---- .../Runtime/Basic Tasks/Vector2/Dot.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/GetMagnitude.cs | 27 ---- .../Basic Tasks/Vector2/GetMagnitude.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/GetRightVector.cs | 24 ---- .../Basic Tasks/Vector2/GetRightVector.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/GetSqrMagnitude.cs | 27 ---- .../Basic Tasks/Vector2/GetSqrMagnitude.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/GetUpVector.cs | 24 ---- .../Basic Tasks/Vector2/GetUpVector.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/GetVector3.cs | 27 ---- .../Runtime/Basic Tasks/Vector2/GetVector3.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/GetXY.cs | 31 ----- .../Runtime/Basic Tasks/Vector2/GetXY.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/Lerp.cs | 31 ----- .../Runtime/Basic Tasks/Vector2/Lerp.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/MoveTowards.cs | 31 ----- .../Basic Tasks/Vector2/MoveTowards.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/Multiply.cs | 29 ---- .../Runtime/Basic Tasks/Vector2/Multiply.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/Normalize.cs | 26 ---- .../Runtime/Basic Tasks/Vector2/Normalize.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/Operator.cs | 47 ------- .../Runtime/Basic Tasks/Vector2/Operator.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/SetValue.cs | 25 ---- .../Runtime/Basic Tasks/Vector2/SetValue.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector2/SetXY.cs | 35 ----- .../Runtime/Basic Tasks/Vector2/SetXY.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3.meta | 4 - .../Runtime/Basic Tasks/Vector3/Angle.cs | 29 ---- .../Runtime/Basic Tasks/Vector3/Angle.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/ClampMagnitude.cs | 29 ---- .../Basic Tasks/Vector3/ClampMagnitude.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/Distance.cs | 29 ---- .../Runtime/Basic Tasks/Vector3/Distance.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/Dot.cs | 29 ---- .../Runtime/Basic Tasks/Vector3/Dot.cs.meta | 8 -- .../Basic Tasks/Vector3/GetForwardVector.cs | 24 ---- .../Basic Tasks/Vector3/GetForwardVector.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/GetMagnitude.cs | 27 ---- .../Basic Tasks/Vector3/GetMagnitude.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/GetRightVector.cs | 24 ---- .../Basic Tasks/Vector3/GetRightVector.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/GetSqrMagnitude.cs | 27 ---- .../Basic Tasks/Vector3/GetSqrMagnitude.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/GetUpVector.cs | 24 ---- .../Basic Tasks/Vector3/GetUpVector.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/GetVector2.cs | 27 ---- .../Runtime/Basic Tasks/Vector3/GetVector2.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/GetXYZ.cs | 35 ----- .../Runtime/Basic Tasks/Vector3/GetXYZ.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/Lerp.cs | 31 ----- .../Runtime/Basic Tasks/Vector3/Lerp.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/MoveTowards.cs | 31 ----- .../Basic Tasks/Vector3/MoveTowards.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/Multiply.cs | 29 ---- .../Runtime/Basic Tasks/Vector3/Multiply.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/Normalize.cs | 26 ---- .../Runtime/Basic Tasks/Vector3/Normalize.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/Operator.cs | 47 ------- .../Runtime/Basic Tasks/Vector3/Operator.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/RotateTowards.cs | 33 ----- .../Basic Tasks/Vector3/RotateTowards.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/SetValue.cs | 25 ---- .../Runtime/Basic Tasks/Vector3/SetValue.cs.meta | 8 -- .../Runtime/Basic Tasks/Vector3/SetXYZ.cs | 40 ------ .../Runtime/Basic Tasks/Vector3/SetXYZ.cs.meta | 8 -- .../Runtime/BehaviorDesignerRuntime.dll | Bin 121856 -> 0 bytes .../Runtime/BehaviorDesignerRuntime.dll.meta | 22 --- .../Behavior Designer/Runtime/BehaviorTree.cs | 11 -- .../Behavior Designer/Runtime/BehaviorTree.cs.meta | 7 - .../Behavior Designer/Runtime/Composites.meta | 2 - .../Runtime/Composites/Parallel.cs | 87 ------------ .../Runtime/Composites/Parallel.cs.meta | 7 - .../Runtime/Composites/ParallelComplete.cs | 81 ----------- .../Runtime/Composites/ParallelComplete.cs.meta | 12 -- .../Runtime/Composites/ParallelSelector.cs | 87 ------------ .../Runtime/Composites/ParallelSelector.cs.meta | 7 - .../Runtime/Composites/PrioritySelector.cs | 72 ---------- .../Runtime/Composites/PrioritySelector.cs.meta | 7 - .../Runtime/Composites/RandomSelector.cs | 106 --------------- .../Runtime/Composites/RandomSelector.cs.meta | 7 - .../Runtime/Composites/RandomSequence.cs | 107 --------------- .../Runtime/Composites/RandomSequence.cs.meta | 7 - .../Runtime/Composites/Selector.cs | 46 ------- .../Runtime/Composites/Selector.cs.meta | 7 - .../Runtime/Composites/SelectorEvaluator.cs | 118 ---------------- .../Runtime/Composites/SelectorEvaluator.cs.meta | 8 -- .../Runtime/Composites/Sequence.cs | 46 ------- .../Runtime/Composites/Sequence.cs.meta | 7 - .../Runtime/Composites/UtilitySelector.cs | 150 --------------------- .../Runtime/Composites/UtilitySelector.cs.meta | 12 -- .../Behavior Designer/Runtime/Conditionals.meta | 2 - .../Runtime/Conditionals/HasReceivedEvent.cs | 114 ---------------- .../Runtime/Conditionals/HasReceivedEvent.cs.meta | 8 -- .../Runtime/Conditionals/Physics.meta | 4 - .../Conditionals/Physics/HasEnteredCollision.cs | 41 ------ .../Physics/HasEnteredCollision.cs.meta | 8 -- .../Conditionals/Physics/HasEnteredCollision2D.cs | 41 ------ .../Physics/HasEnteredCollision2D.cs.meta | 8 -- .../Conditionals/Physics/HasEnteredTrigger.cs | 41 ------ .../Conditionals/Physics/HasEnteredTrigger.cs.meta | 8 -- .../Conditionals/Physics/HasEnteredTrigger2D.cs | 41 ------ .../Physics/HasEnteredTrigger2D.cs.meta | 8 -- .../Conditionals/Physics/HasExitedCollision.cs | 40 ------ .../Physics/HasExitedCollision.cs.meta | 8 -- .../Conditionals/Physics/HasExitedCollision2D.cs | 41 ------ .../Physics/HasExitedCollision2D.cs.meta | 8 -- .../Conditionals/Physics/HasExitedTrigger.cs | 41 ------ .../Conditionals/Physics/HasExitedTrigger.cs.meta | 8 -- .../Conditionals/Physics/HasExitedTrigger2D.cs | 41 ------ .../Physics/HasExitedTrigger2D.cs.meta | 8 -- .../Runtime/Conditionals/RandomProbability.cs | 44 ------ .../Runtime/Conditionals/RandomProbability.cs.meta | 7 - .../Runtime/Conditionals/Reflection.meta | 4 - .../Conditionals/Reflection/CompareFieldValue.cs | 61 --------- .../Reflection/CompareFieldValue.cs.meta | 8 -- .../Reflection/ComparePropertyValue.cs | 61 --------- .../Reflection/ComparePropertyValue.cs.meta | 8 -- .../Behavior Designer/Runtime/Decorators.meta | 2 - .../Runtime/Decorators/ConditionalEvaluator.cs | 100 -------------- .../Decorators/ConditionalEvaluator.cs.meta | 8 -- .../Runtime/Decorators/Interrupt.cs | 49 ------- .../Runtime/Decorators/Interrupt.cs.meta | 7 - .../Runtime/Decorators/Inverter.cs | 41 ------ .../Runtime/Decorators/Inverter.cs.meta | 7 - .../Runtime/Decorators/Repeater.cs | 48 ------- .../Runtime/Decorators/Repeater.cs.meta | 7 - .../Runtime/Decorators/ReturnFailure.cs | 38 ------ .../Runtime/Decorators/ReturnFailure.cs.meta | 7 - .../Runtime/Decorators/ReturnSuccess.cs | 38 ------ .../Runtime/Decorators/ReturnSuccess.cs.meta | 7 - .../Runtime/Decorators/TaskGuard.cs | 77 ----------- .../Runtime/Decorators/TaskGuard.cs.meta | 7 - .../Runtime/Decorators/UntilFailure.cs | 29 ---- .../Runtime/Decorators/UntilFailure.cs.meta | 7 - .../Runtime/Decorators/UntilSuccess.cs | 29 ---- .../Runtime/Decorators/UntilSuccess.cs.meta | 7 - .../Behavior Designer/Runtime/EntryTask.cs | 14 -- .../Behavior Designer/Runtime/EntryTask.cs.meta | 7 - .../Runtime/ExternalBehaviorTree.cs | 8 -- .../Runtime/ExternalBehaviorTree.cs.meta | 8 -- .../Behavior Designer/Runtime/Object Drawers.meta | 5 - .../Runtime/Object Drawers/FloatSliderAttribute.cs | 16 --- .../Object Drawers/FloatSliderAttribute.cs.meta | 8 -- .../Runtime/Object Drawers/IntSliderAttribute.cs | 16 --- .../Object Drawers/IntSliderAttribute.cs.meta | 8 -- .../Behavior Designer/Runtime/Variables.meta | 4 - .../Runtime/Variables/SharedBool.cs | 8 -- .../Runtime/Variables/SharedBool.cs.meta | 8 -- .../Runtime/Variables/SharedColor.cs | 10 -- .../Runtime/Variables/SharedColor.cs.meta | 8 -- .../Runtime/Variables/SharedFloat.cs | 8 -- .../Runtime/Variables/SharedFloat.cs.meta | 8 -- .../Runtime/Variables/SharedGameObject.cs | 10 -- .../Runtime/Variables/SharedGameObject.cs.meta | 8 -- .../Runtime/Variables/SharedGameObjectList.cs | 11 -- .../Runtime/Variables/SharedGameObjectList.cs.meta | 8 -- .../Runtime/Variables/SharedInt.cs | 8 -- .../Runtime/Variables/SharedInt.cs.meta | 8 -- .../Runtime/Variables/SharedMaterial.cs | 10 -- .../Runtime/Variables/SharedMaterial.cs.meta | 8 -- .../Runtime/Variables/SharedObject.cs | 10 -- .../Runtime/Variables/SharedObject.cs.meta | 8 -- .../Runtime/Variables/SharedObjectList.cs | 11 -- .../Runtime/Variables/SharedObjectList.cs.meta | 8 -- .../Runtime/Variables/SharedQuaternion.cs | 10 -- .../Runtime/Variables/SharedQuaternion.cs.meta | 8 -- .../Runtime/Variables/SharedRect.cs | 10 -- .../Runtime/Variables/SharedRect.cs.meta | 8 -- .../Runtime/Variables/SharedString.cs | 8 -- .../Runtime/Variables/SharedString.cs.meta | 8 -- .../Runtime/Variables/SharedTransform.cs | 10 -- .../Runtime/Variables/SharedTransform.cs.meta | 8 -- .../Runtime/Variables/SharedTransformList.cs | 11 -- .../Runtime/Variables/SharedTransformList.cs.meta | 8 -- .../Runtime/Variables/SharedVector2.cs | 10 -- .../Runtime/Variables/SharedVector2.cs.meta | 8 -- .../Runtime/Variables/SharedVector3.cs | 10 -- .../Runtime/Variables/SharedVector3.cs.meta | 8 -- .../Runtime/Variables/SharedVector4.cs | 10 -- .../Runtime/Variables/SharedVector4.cs.meta | 8 -- 1093 files changed, 25102 deletions(-) delete mode 100644 Assets/ThirdParty/Behavior Designer/Documentation.pdf delete mode 100644 Assets/ThirdParty/Behavior Designer/Documentation.pdf.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor/BehaviorDesignerEditor.dll delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor/BehaviorDesignerEditor.dll.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor/BehaviorTreeInspector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor/BehaviorTreeInspector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor/ExternalBehaviorTreeInspector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor/ExternalBehaviorTreeInspector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor/GridShader.shader delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor/GridShader.shader.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor/Object Drawers.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/FloatSliderDrawer.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/FloatSliderDrawer.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/IntSliderDrawer.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/IntSliderDrawer.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Release Notes.pdf delete mode 100644 Assets/ThirdParty/Behavior Designer/Release Notes.pdf.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime Source Code Location.pdf delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime Source Code Location.pdf.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/BehaviorTreeReference.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/BehaviorTreeReference.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Idle.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Idle.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Log.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Log.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/PerformInterruption.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/PerformInterruption.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/RestartBehaviorTree.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/RestartBehaviorTree.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/SendEvent.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/SendEvent.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/StartBehaviorTree.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/StartBehaviorTree.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/StopBehaviorTree.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/StopBehaviorTree.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Wait.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Actions/Wait.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Blend.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Blend.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFade.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFade.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFadeQueued.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFadeQueued.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/GetAnimatePhysics.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/GetAnimatePhysics.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/IsPlaying.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/IsPlaying.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Play.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Play.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/PlayQueued.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/PlayQueued.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Rewind.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Rewind.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Sample.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Sample.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetAnimatePhysics.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetAnimatePhysics.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetWrapMode.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetWrapMode.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Stop.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Stop.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/CrossFade.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/CrossFade.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetApplyRootMotion.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetApplyRootMotion.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetBoolParameter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetBoolParameter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaPosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaPosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetFloatParameter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetFloatParameter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetGravityWeight.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetGravityWeight.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetIntegerParameter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetIntegerParameter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetLayerWeight.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetLayerWeight.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetSpeed.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetSpeed.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetStringToHash.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetStringToHash.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/InterruptMatchTarget.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/InterruptMatchTarget.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsInTransition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsInTransition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsName.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsName.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsParameterControlledByCurve.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsParameterControlledByCurve.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/MatchTarget.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/MatchTarget.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/Play.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/Play.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetApplyRootMotion.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetApplyRootMotion.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetBoolParameter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetBoolParameter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetFloatParameter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetFloatParameter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetIntegerParameter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetIntegerParameter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLayerWeight.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLayerWeight.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtPosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtPosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtWeight.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtWeight.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetSpeed.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetSpeed.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetTrigger.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetTrigger.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartPlayback.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartPlayback.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartRecording.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartRecording.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopPlayback.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopPlayback.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopRecording.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopRecording.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerPause.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerPause.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerVolume.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerVolume.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetLoop.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetLoop.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMaxDistance.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMaxDistance.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMinDistance.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMinDistance.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMute.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMute.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPitch.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPitch.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPriority.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPriority.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetSpread.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetSpread.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTime.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTime.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTimeSamples.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTimeSamples.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetVolume.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetVolume.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/IsPlaying.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/IsPlaying.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Pause.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Pause.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Play.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Play.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayDelayed.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayDelayed.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayOneShot.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayOneShot.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayScheduled.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayScheduled.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetAudioClip.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetAudioClip.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerPause.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerPause.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerVolume.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerVolume.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetLoop.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetLoop.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMaxDistance.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMaxDistance.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMinDistance.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMinDistance.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMute.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMute.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPan.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPan.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPanLevel.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPanLevel.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPitch.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPitch.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPriority.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPriority.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetRolloffMode.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetRolloffMode.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledEndTime.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledEndTime.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledStartTime.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledStartTime.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetSpread.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetSpread.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetTime.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetTime.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVelocityUpdateMode.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVelocityUpdateMode.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVolume.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVolume.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Stop.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Stop.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/GetIsEnabled.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/GetIsEnabled.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/IsEnabled.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/IsEnabled.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/SetIsEnabled.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/SetIsEnabled.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetCenter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetCenter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetSize.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetSize.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetCenter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetCenter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetSize.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetSize.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/GetSize.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/GetSize.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/SetSize.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/SetSize.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetCenter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetCenter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetDirection.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetDirection.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetHeight.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetHeight.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetRadius.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetRadius.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetCenter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetCenter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetDirection.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetDirection.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetHeight.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetHeight.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetRadius.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetRadius.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetCenter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetCenter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetHeight.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetHeight.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetRadius.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetRadius.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetSlopeLimit.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetSlopeLimit.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetStepOffset.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetStepOffset.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetVelocity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetVelocity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/HasColliderHit.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/HasColliderHit.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/IsGrounded.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/IsGrounded.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/Move.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/Move.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetCenter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetCenter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetHeight.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetHeight.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetRadius.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetRadius.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetSlopeLimit.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetSlopeLimit.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetStepOffset.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetStepOffset.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SimpleMove.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SimpleMove.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetCenter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetCenter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetRadius.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetRadius.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetCenter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetCenter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetRadius.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetRadius.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawLine.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawLine.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogFormat.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogFormat.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogValue.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogValue.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveInHierarchy.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveInHierarchy.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveSelf.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveSelf.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/CompareTag.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/CompareTag.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Destroy.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Destroy.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/DestroyImmediate.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/DestroyImmediate.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Find.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Find.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindGameObjectsWithTag.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindGameObjectsWithTag.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindWithTag.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindWithTag.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetComponent.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetComponent.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetTag.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetTag.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Instantiate.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Instantiate.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SendMessage.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SendMessage.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetActive.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetActive.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetTag.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetTag.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAcceleration.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAcceleration.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxis.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxis.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxisRaw.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxisRaw.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetKey.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetKey.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMouseButton.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMouseButton.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMousePosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMousePosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonUp.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonUp.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyDown.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyDown.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyUp.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyUp.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseDown.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseDown.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseUp.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseUp.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/GetLayer.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/GetLayer.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/SetLayer.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/SetLayer.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetColor.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetColor.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetCookieSize.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetCookieSize.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetIntensity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetIntensity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetRange.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetRange.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowBias.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowBias.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowStrength.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowStrength.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetSpotAngle.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetSpotAngle.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetColor.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetColor.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookie.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookie.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookieSize.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookieSize.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCullingMask.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCullingMask.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetIntensity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetIntensity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetRange.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetRange.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowBias.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowBias.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftness.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftness.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftnessFade.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftnessFade.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowStrength.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowStrength.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadows.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadows.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetSpotAngle.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetSpotAngle.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetType.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetType.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAcceleration.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAcceleration.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAngularSpeed.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAngularSpeed.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetDestination.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetDestination.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetRemainingDistance.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetRemainingDistance.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetSpeed.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetSpeed.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Move.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Move.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/ResetPath.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/ResetPath.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Resume.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Resume.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAcceleration.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAcceleration.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAngularSpeed.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAngularSpeed.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetDestination.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetDestination.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetSpeed.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetSpeed.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Stop.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Stop.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Warp.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Warp.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsClient.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsClient.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsServer.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsServer.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Clear.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Clear.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetDuration.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetDuration.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEmissionRate.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEmissionRate.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEnableEmission.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEnableEmission.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetGravityModifier.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetGravityModifier.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetLoop.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetLoop.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetMaxParticles.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetMaxParticles.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetParticleCount.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetParticleCount.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetPlaybackSpeed.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetPlaybackSpeed.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetTime.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetTime.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsAlive.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsAlive.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPaused.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPaused.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPlaying.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPlaying.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsStopped.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsStopped.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Pause.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Pause.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Play.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Play.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEmissionRate.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEmissionRate.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEnableEmission.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEnableEmission.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetGravityModifier.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetGravityModifier.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetLoop.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetLoop.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetMaxParticles.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetMaxParticles.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartColor.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartColor.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartDelay.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartDelay.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartLifetime.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartLifetime.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSize.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSize.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSpeed.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSpeed.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetTime.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetTime.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Simulate.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Simulate.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Stop.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Stop.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Linecast.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Linecast.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Raycast.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Raycast.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Spherecast.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Spherecast.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Circlecast.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Circlecast.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Linecast.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Linecast.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Raycast.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Raycast.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteAll.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteAll.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteKey.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteKey.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetFloat.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetFloat.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetInt.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetInt.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetString.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetString.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/HasKey.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/HasKey.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/Save.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/Save.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetFloat.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetFloat.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetInt.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetInt.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetString.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetString.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Angle.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Angle.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/AngleAxis.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/AngleAxis.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Dot.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Dot.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Euler.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Euler.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/FromToRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/FromToRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Identity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Identity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Inverse.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Inverse.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Lerp.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Lerp.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/LookRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/LookRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/RotateTowards.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/RotateTowards.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Slerp.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Slerp.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/IsVisible.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/IsVisible.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/SetMaterial.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/SetMaterial.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddExplosionForce.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddExplosionForce.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForce.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForce.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForceAtPosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForceAtPosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeForce.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeForce.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeTorque.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeTorque.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddTorque.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddTorque.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularDrag.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularDrag.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularVelocity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularVelocity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetCenterOfMass.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetCenterOfMass.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetDrag.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetDrag.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetFreezeRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetFreezeRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetIsKinematic.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetIsKinematic.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetMass.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetMass.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetPosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetPosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetUseGravity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetUseGravity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetVelocity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetVelocity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsKinematic.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsKinematic.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsSleeping.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsSleeping.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MovePosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MovePosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MoveRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MoveRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularDrag.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularDrag.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularVelocity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularVelocity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetCenterOfMass.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetCenterOfMass.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetConstraints.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetConstraints.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetDrag.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetDrag.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetFreezeRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetFreezeRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetIsKinematic.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetIsKinematic.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetMass.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetMass.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetPosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetPosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetUseGravity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetUseGravity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetVelocity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetVelocity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/Sleep.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/Sleep.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/UseGravity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/UseGravity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/WakeUp.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/WakeUp.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForce.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForce.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForceAtPosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForceAtPosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddTorque.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddTorque.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularDrag.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularDrag.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularVelocity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularVelocity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetDrag.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetDrag.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetGravtyScale.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetGravtyScale.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetIsKinematic.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetIsKinematic.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetMass.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetMass.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetPosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetPosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetVelocity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetVelocity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsKinematic.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsKinematic.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsSleeping.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsSleeping.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MovePosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MovePosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MoveRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MoveRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularDrag.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularDrag.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularVelocity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularVelocity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetDrag.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetDrag.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetGravityScale.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetGravityScale.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetIsKinematic.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetIsKinematic.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetMass.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetMass.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetVelocity.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetVelocity.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/Sleep.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/Sleep.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/WakeUp.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/WakeUp.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedColor.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedColor.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedFloat.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedFloat.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObject.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObject.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObjectList.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObjectList.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedInt.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedInt.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObject.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObject.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObjectList.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObjectList.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedQuaternion.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedQuaternion.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedRect.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedRect.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedString.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedString.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransform.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransform.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransformList.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransformList.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector2.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector2.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector3.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector3.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector4.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector4.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedBool.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedBool.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedColor.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedColor.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedFloat.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedFloat.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObject.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObject.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObjectList.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObjectList.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedInt.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedInt.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObject.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObject.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObjectList.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObjectList.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedQuaternion.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedQuaternion.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedString.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedString.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransform.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransform.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransformList.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransformList.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector2.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector2.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector3.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector3.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector4.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector4.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectToTransform.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectToTransform.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectsToGameObjectList.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectsToGameObjectList.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformToGameObject.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformToGameObject.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformsToTransformList.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformsToTransformList.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetCenter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetCenter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetRadius.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetRadius.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetCenter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetCenter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetRadius.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetRadius.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/BuildString.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/BuildString.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/CompareTo.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/CompareTo.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Format.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Format.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetLength.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetLength.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetRandomString.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetRandomString.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetSubstring.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetSubstring.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/IsNullOrEmpty.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/IsNullOrEmpty.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Replace.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Replace.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/SetString.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/SetString.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetDeltaTime.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetDeltaTime.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetRealtimeSinceStartup.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetRealtimeSinceStartup.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTime.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTime.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTimeScale.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTimeScale.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/SetTimeScale.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/SetTimeScale.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Find.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Find.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/FindChild.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/FindChild.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetAngleToTarget.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetAngleToTarget.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChild.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChild.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChildCount.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChildCount.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetEulerAngles.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetEulerAngles.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetForwardVector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetForwardVector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalEulerAngles.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalEulerAngles.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalPosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalPosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalScale.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalScale.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetParent.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetParent.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetPosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetPosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRightVector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRightVector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetUpVector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetUpVector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/IsChildOf.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/IsChildOf.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/LookAt.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/LookAt.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Rotate.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Rotate.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/RotateAround.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/RotateAround.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetEulerAngles.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetEulerAngles.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetForwardVector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetForwardVector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalEulerAngles.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalEulerAngles.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalPosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalPosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalScale.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalScale.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetParent.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetParent.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetPosition.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetPosition.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRightVector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRightVector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRotation.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRotation.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetUpVector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetUpVector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Translate.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Translate.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/ClampMagnitude.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/ClampMagnitude.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Distance.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Distance.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Dot.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Dot.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetMagnitude.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetMagnitude.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetRightVector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetRightVector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetSqrMagnitude.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetSqrMagnitude.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetUpVector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetUpVector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetVector3.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetVector3.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetXY.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetXY.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Lerp.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Lerp.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/MoveTowards.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/MoveTowards.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Multiply.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Multiply.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Normalize.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Normalize.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Operator.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Operator.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetValue.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetValue.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetXY.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetXY.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Angle.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Angle.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/ClampMagnitude.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/ClampMagnitude.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Distance.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Distance.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Dot.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Dot.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetForwardVector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetForwardVector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetMagnitude.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetMagnitude.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetRightVector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetRightVector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetSqrMagnitude.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetSqrMagnitude.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetUpVector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetUpVector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetVector2.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetVector2.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetXYZ.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetXYZ.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Lerp.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Lerp.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/MoveTowards.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/MoveTowards.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Multiply.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Multiply.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Normalize.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Normalize.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Operator.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Operator.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/RotateTowards.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/RotateTowards.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetValue.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetValue.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetXYZ.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetXYZ.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/BehaviorDesignerRuntime.dll delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/BehaviorDesignerRuntime.dll.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/BehaviorTree.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/BehaviorTree.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/Parallel.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/Parallel.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelComplete.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelComplete.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelSelector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelSelector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/PrioritySelector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/PrioritySelector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSelector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSelector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSequence.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSequence.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/Selector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/Selector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/SelectorEvaluator.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/SelectorEvaluator.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/Sequence.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/Sequence.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/UtilitySelector.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Composites/UtilitySelector.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/HasReceivedEvent.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/HasReceivedEvent.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision2D.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision2D.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger2D.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger2D.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision2D.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision2D.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger2D.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger2D.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/RandomProbability.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/RandomProbability.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/CompareFieldValue.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/CompareFieldValue.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/ComparePropertyValue.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/ComparePropertyValue.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ConditionalEvaluator.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ConditionalEvaluator.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Interrupt.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Interrupt.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Inverter.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Inverter.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Repeater.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Repeater.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnFailure.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnFailure.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnSuccess.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnSuccess.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/TaskGuard.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/TaskGuard.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilFailure.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilFailure.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilSuccess.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilSuccess.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/EntryTask.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/EntryTask.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/ExternalBehaviorTree.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/ExternalBehaviorTree.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/IntSliderAttribute.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/IntSliderAttribute.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedBool.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedBool.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedColor.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedColor.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedFloat.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedFloat.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObject.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObject.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObjectList.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObjectList.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedInt.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedInt.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedMaterial.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedMaterial.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObject.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObject.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObjectList.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObjectList.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedQuaternion.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedQuaternion.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedRect.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedRect.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedString.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedString.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransform.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransform.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransformList.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransformList.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector2.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector2.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector3.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector3.cs.meta delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector4.cs delete mode 100644 Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector4.cs.meta (limited to 'Assets/ThirdParty/Behavior Designer') diff --git a/Assets/ThirdParty/Behavior Designer/Documentation.pdf b/Assets/ThirdParty/Behavior Designer/Documentation.pdf deleted file mode 100644 index b59d4714..00000000 Binary files a/Assets/ThirdParty/Behavior Designer/Documentation.pdf and /dev/null differ diff --git a/Assets/ThirdParty/Behavior Designer/Documentation.pdf.meta b/Assets/ThirdParty/Behavior Designer/Documentation.pdf.meta deleted file mode 100644 index aa4bb294..00000000 --- a/Assets/ThirdParty/Behavior Designer/Documentation.pdf.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 4646946da2762db46a08e76a6c42f832 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Editor.meta b/Assets/ThirdParty/Behavior Designer/Editor.meta deleted file mode 100644 index 8584cfce..00000000 --- a/Assets/ThirdParty/Behavior Designer/Editor.meta +++ /dev/null @@ -1,2 +0,0 @@ -fileFormatVersion: 2 -guid: 3aa7d582439bc2f4da8254d1364e0f41 diff --git a/Assets/ThirdParty/Behavior Designer/Editor/BehaviorDesignerEditor.dll b/Assets/ThirdParty/Behavior Designer/Editor/BehaviorDesignerEditor.dll deleted file mode 100644 index 64a9c2a1..00000000 Binary files a/Assets/ThirdParty/Behavior Designer/Editor/BehaviorDesignerEditor.dll and /dev/null differ diff --git a/Assets/ThirdParty/Behavior Designer/Editor/BehaviorDesignerEditor.dll.meta b/Assets/ThirdParty/Behavior Designer/Editor/BehaviorDesignerEditor.dll.meta deleted file mode 100644 index 82215805..00000000 --- a/Assets/ThirdParty/Behavior Designer/Editor/BehaviorDesignerEditor.dll.meta +++ /dev/null @@ -1,22 +0,0 @@ -fileFormatVersion: 2 -guid: 0465f9ab3d9c3be4485885ec2882f20f -PluginImporter: - serializedVersion: 1 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - platformData: - Any: - enabled: 0 - settings: {} - Editor: - enabled: 1 - settings: - DefaultValueInitialized: true - WindowsStoreApps: - enabled: 0 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/Behavior Designer/Editor/BehaviorTreeInspector.cs b/Assets/ThirdParty/Behavior Designer/Editor/BehaviorTreeInspector.cs deleted file mode 100644 index 49272dd0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Editor/BehaviorTreeInspector.cs +++ /dev/null @@ -1,11 +0,0 @@ -using UnityEditor; -using BehaviorDesigner.Runtime; - -namespace BehaviorDesigner.Editor -{ - [CustomEditor(typeof(BehaviorTree))] - public class BehaviorTreeInspector : BehaviorInspector - { - // intentionally left blank - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Editor/BehaviorTreeInspector.cs.meta b/Assets/ThirdParty/Behavior Designer/Editor/BehaviorTreeInspector.cs.meta deleted file mode 100644 index 7e42bbed..00000000 --- a/Assets/ThirdParty/Behavior Designer/Editor/BehaviorTreeInspector.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 94693c6931cea70439c26417a1fc0d33 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Editor/ExternalBehaviorTreeInspector.cs b/Assets/ThirdParty/Behavior Designer/Editor/ExternalBehaviorTreeInspector.cs deleted file mode 100644 index e0dfa80d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Editor/ExternalBehaviorTreeInspector.cs +++ /dev/null @@ -1,12 +0,0 @@ -using UnityEngine; -using UnityEditor; -using BehaviorDesigner.Runtime; - -namespace BehaviorDesigner.Editor -{ - [CustomEditor(typeof(ExternalBehaviorTree))] - public class ExternalBehaviorTreeInspector : ExternalBehaviorInspector - { - // intentionally left blank - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Editor/ExternalBehaviorTreeInspector.cs.meta b/Assets/ThirdParty/Behavior Designer/Editor/ExternalBehaviorTreeInspector.cs.meta deleted file mode 100644 index a1169745..00000000 --- a/Assets/ThirdParty/Behavior Designer/Editor/ExternalBehaviorTreeInspector.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1f0cb79f53e760c4d950b8c6ade6a242 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Editor/GridShader.shader b/Assets/ThirdParty/Behavior Designer/Editor/GridShader.shader deleted file mode 100644 index 7f7d9eef..00000000 --- a/Assets/ThirdParty/Behavior Designer/Editor/GridShader.shader +++ /dev/null @@ -1,44 +0,0 @@ -Shader "Hidden/Behavior Designer/Grid" { - SubShader { - Pass { - CGPROGRAM - #pragma vertex vert_img - #pragma fragment frag - #include "UnityCG.cginc" - fixed4 frag(v2f_img i) : Color { - return fixed4(0.21, 0.21, 0.21, 1); - } - ENDCG - } - Pass { - CGPROGRAM - #pragma vertex vert_img - #pragma fragment frag - #include "UnityCG.cginc" - fixed4 frag(v2f_img i) : Color { - return fixed4(0.33, 0.33, 0.33, 1); - } - ENDCG - } - Pass { - CGPROGRAM - #pragma vertex vert_img - #pragma fragment frag - #include "UnityCG.cginc" - fixed4 frag(v2f_img i) : Color { - return fixed4(0.26, 0.26, 0.26, 1); - } - ENDCG - } - Pass { - CGPROGRAM - #pragma vertex vert_img - #pragma fragment frag - #include "UnityCG.cginc" - fixed4 frag(v2f_img i) : Color { - return fixed4(0.27, 0.27, 0.27, 1); - } - ENDCG - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Editor/GridShader.shader.meta b/Assets/ThirdParty/Behavior Designer/Editor/GridShader.shader.meta deleted file mode 100644 index 43ccf5cf..00000000 --- a/Assets/ThirdParty/Behavior Designer/Editor/GridShader.shader.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: afbd9f0fb1c22d1409403fdef158479f -ShaderImporter: - defaultTextures: [] - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers.meta b/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers.meta deleted file mode 100644 index 6b6fa761..00000000 --- a/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: 956347559c803f7489f75873ef2715e5 -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/FloatSliderDrawer.cs b/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/FloatSliderDrawer.cs deleted file mode 100644 index ada9607b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/FloatSliderDrawer.cs +++ /dev/null @@ -1,22 +0,0 @@ -using UnityEngine; -using UnityEditor; -using BehaviorDesigner.Runtime; -using BehaviorDesigner.Runtime.ObjectDrawers; - -namespace BehaviorDesigner.Editor.ObjectDrawers -{ - [CustomObjectDrawer(typeof(FloatSliderAttribute))] - public class FloatSliderDrawer : ObjectDrawer - { - public override void OnGUI(GUIContent label) - { - var floatSliderAttribute = (FloatSliderAttribute)attribute; - if (value is SharedFloat) { - var sharedFloat = value as SharedFloat; - sharedFloat.Value = EditorGUILayout.Slider(label, sharedFloat.Value, floatSliderAttribute.min, floatSliderAttribute.max); - } else { - value = EditorGUILayout.Slider(label, (float)value, floatSliderAttribute.min, floatSliderAttribute.max); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/FloatSliderDrawer.cs.meta b/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/FloatSliderDrawer.cs.meta deleted file mode 100644 index 9fd520f8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/FloatSliderDrawer.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5f0987c6ff37141458ff776277e2b65a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/IntSliderDrawer.cs b/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/IntSliderDrawer.cs deleted file mode 100644 index 53a532ff..00000000 --- a/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/IntSliderDrawer.cs +++ /dev/null @@ -1,22 +0,0 @@ -using UnityEngine; -using UnityEditor; -using BehaviorDesigner.Runtime; -using BehaviorDesigner.Runtime.ObjectDrawers; - -namespace BehaviorDesigner.Editor.ObjectDrawers -{ - [CustomObjectDrawer(typeof(IntSliderAttribute))] - public class IntSliderDrawer : ObjectDrawer - { - public override void OnGUI(GUIContent label) - { - var intSliderAttribute = (IntSliderAttribute)attribute; - if (value is SharedInt) { - var sharedFloat = value as SharedInt; - sharedFloat.Value = EditorGUILayout.IntSlider(label, sharedFloat.Value, intSliderAttribute.min, intSliderAttribute.max); - } else { - value = EditorGUILayout.IntSlider(label, (int)value, intSliderAttribute.min, intSliderAttribute.max); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/IntSliderDrawer.cs.meta b/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/IntSliderDrawer.cs.meta deleted file mode 100644 index 8c3203a0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Editor/Object Drawers/IntSliderDrawer.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ed5dac524fa5f61468bb6ca49a556b3b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Release Notes.pdf b/Assets/ThirdParty/Behavior Designer/Release Notes.pdf deleted file mode 100644 index 1ae6e217..00000000 Binary files a/Assets/ThirdParty/Behavior Designer/Release Notes.pdf and /dev/null differ diff --git a/Assets/ThirdParty/Behavior Designer/Release Notes.pdf.meta b/Assets/ThirdParty/Behavior Designer/Release Notes.pdf.meta deleted file mode 100644 index 1e0775fc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Release Notes.pdf.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: a42b132a1220b5c40bde3a68c47bc32f -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime Source Code Location.pdf b/Assets/ThirdParty/Behavior Designer/Runtime Source Code Location.pdf deleted file mode 100644 index 3ae9649d..00000000 Binary files a/Assets/ThirdParty/Behavior Designer/Runtime Source Code Location.pdf and /dev/null differ diff --git a/Assets/ThirdParty/Behavior Designer/Runtime Source Code Location.pdf.meta b/Assets/ThirdParty/Behavior Designer/Runtime Source Code Location.pdf.meta deleted file mode 100644 index af4426a0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime Source Code Location.pdf.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: f76522f0ea27769479b1c38979bac10a -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime.meta b/Assets/ThirdParty/Behavior Designer/Runtime.meta deleted file mode 100644 index b907fb90..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime.meta +++ /dev/null @@ -1,2 +0,0 @@ -fileFormatVersion: 2 -guid: 33b3095a3727f544dbe47311776edb53 diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions.meta deleted file mode 100644 index b016b581..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions.meta +++ /dev/null @@ -1,2 +0,0 @@ -fileFormatVersion: 2 -guid: 45c329b28adc8de439b3ee381ccc759b diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/BehaviorTreeReference.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/BehaviorTreeReference.cs deleted file mode 100644 index b0611bce..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/BehaviorTreeReference.cs +++ /dev/null @@ -1,17 +0,0 @@ - - -namespace BehaviorDesigner.Runtime.Tasks -{ - // Wrapper class for the Behavior Reference task. The Behavior Tree Reference task allows you to run another behavior tree within the current behavior tree. - // One use for this task is if you have an unit that plays a series of tasks to attack. You may want the unit to attack at different points within - // the behavior tree, and you want that attack to always be the same. Instead of copying and pasting the same tasks over and over you can just use - // an external behavior and then the tasks are always guaranteed to be the same. This example is demonstrated in the RTS sample project located at - // http://www.opsive.com/assets/BehaviorDesigner/samples.php. - [TaskDescription("Behavior Tree Reference allows you to run another behavior tree within the current behavior tree.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=53")] - [TaskIcon("BehaviorTreeReferenceIcon.png")] - public class BehaviorTreeReference : BehaviorReference - { - // intentionally left blank - subclass of BehaviorReference - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/BehaviorTreeReference.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/BehaviorTreeReference.cs.meta deleted file mode 100644 index f81a791a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/BehaviorTreeReference.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: af7b6fcbc7258f34aad1bb82b5b3fdc8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Idle.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Idle.cs deleted file mode 100644 index 2cd9f2f4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Idle.cs +++ /dev/null @@ -1,15 +0,0 @@ - - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Returns a TaskStatus of running. Will only stop when interrupted or a conditional abort is triggered.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=112")] - [TaskIcon("{SkinColor}IdleIcon.png")] - public class Idle : Action - { - public override TaskStatus OnUpdate() - { - return TaskStatus.Running; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Idle.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Idle.cs.meta deleted file mode 100644 index 6b5a4977..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Idle.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 759252a4ffada80419ef06ce1c625246 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Log.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Log.cs deleted file mode 100644 index a2363d43..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Log.cs +++ /dev/null @@ -1,33 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Log is a simple task which will output the specified text and return success. It can be used for debugging.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=16")] - [TaskIcon("{SkinColor}LogIcon.png")] - public class Log : Action - { - [Tooltip("Text to output to the log")] - public SharedString text; - [Tooltip("Is this text an error?")] - public SharedBool logError; - - public override TaskStatus OnUpdate() - { - // Log the text and return success - if (logError.Value) { - Debug.LogError(text); - } else { - Debug.Log(text); - } - return TaskStatus.Success; - } - - public override void OnReset() - { - // Reset the properties back to their original values - text = ""; - logError = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Log.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Log.cs.meta deleted file mode 100644 index 2c0c0b18..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Log.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d53794347878c7c479da37533dce2024 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/PerformInterruption.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/PerformInterruption.cs deleted file mode 100644 index 05c20a68..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/PerformInterruption.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Perform the actual interruption. This will immediately stop the specified tasks from running and will return success or failure depending on the value of interrupt success.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=17")] - [TaskIcon("{SkinColor}PerformInterruptionIcon.png")] - public class PerformInterruption : Action - { - [Tooltip("The list of tasks to interrupt. Can be any number of tasks")] - public Interrupt[] interruptTasks; - [Tooltip("When we interrupt the task should we return a task status of success?")] - public SharedBool interruptSuccess; - - public override TaskStatus OnUpdate() - { - // Loop through all of the tasks and fire an interruption. Once complete return success. - for (int i = 0; i < interruptTasks.Length; ++i) { - interruptTasks[i].DoInterrupt(interruptSuccess.Value ? TaskStatus.Success : TaskStatus.Failure); - } - return TaskStatus.Success; - } - - public override void OnReset() - { - // Reset the properties back to their original values. - interruptTasks = null; - interruptSuccess = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/PerformInterruption.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/PerformInterruption.cs.meta deleted file mode 100644 index 773c0f51..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/PerformInterruption.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 72d2d6051b23e86468e2f715f044dad8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection.meta deleted file mode 100644 index b0bb23d7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 70f925868ab5ebe4cbc702810c2c5857 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs deleted file mode 100644 index a5b31bc4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs +++ /dev/null @@ -1,58 +0,0 @@ -using UnityEngine; -using System; -using System.Reflection; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Gets the value from the field specified. Returns success if the field was retrieved.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=147")] - [TaskCategory("Reflection")] - [TaskIcon("{SkinColor}ReflectionIcon.png")] - public class GetFieldValue : Action - { - [Tooltip("The GameObject to get the field on")] - public SharedGameObject targetGameObject; - [Tooltip("The component to get the field on")] - public SharedString componentName; - [Tooltip("The name of the field")] - public SharedString fieldName; - [Tooltip("The value of the field")] - [RequiredField] - public SharedVariable fieldValue; - - public override TaskStatus OnUpdate() - { - if (fieldValue == null) { - Debug.LogWarning("Unable to get field - field value is null"); - return TaskStatus.Failure; - } - - var type = TaskUtility.GetTypeWithinAssembly(componentName.Value); - if (type == null) { - Debug.LogWarning("Unable to get field - type is null"); - return TaskStatus.Failure; - } - - var component = GetDefaultGameObject(targetGameObject.Value).GetComponent(type); - if (component == null) { - Debug.LogWarning("Unable to get the field with component " + componentName.Value); - return TaskStatus.Failure; - } - - // If you are receiving a compiler error on the Windows Store platform see this topic: - // http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=46 - var field = component.GetType().GetField(fieldName.Value); - fieldValue.SetValue(field.GetValue(component)); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - componentName = null; - fieldName = null; - fieldValue = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs.meta deleted file mode 100644 index 34bf75c3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetFieldValue.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bc317dd7feb2085499edb0d0c4604640 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs deleted file mode 100644 index be81eee4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs +++ /dev/null @@ -1,58 +0,0 @@ -using UnityEngine; -using System; -using System.Reflection; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Gets the value from the property specified. Returns success if the property was retrieved.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=148")] - [TaskCategory("Reflection")] - [TaskIcon("{SkinColor}ReflectionIcon.png")] - public class GetPropertyValue : Action - { - [Tooltip("The GameObject to get the property of")] - public SharedGameObject targetGameObject; - [Tooltip("The component to get the property of")] - public SharedString componentName; - [Tooltip("The name of the property")] - public SharedString propertyName; - [Tooltip("The value of the property")] - [RequiredField] - public SharedVariable propertyValue; - - public override TaskStatus OnUpdate() - { - if (propertyValue == null) { - Debug.LogWarning("Unable to get property - property value is null"); - return TaskStatus.Failure; - } - - var type = TaskUtility.GetTypeWithinAssembly(componentName.Value); - if (type == null) { - Debug.LogWarning("Unable to get property - type is null"); - return TaskStatus.Failure; - } - - var component = GetDefaultGameObject(targetGameObject.Value).GetComponent(type); - if (component == null) { - Debug.LogWarning("Unable to get the property with component " + componentName.Value); - return TaskStatus.Failure; - } - - // If you are receiving a compiler error on the Windows Store platform see this topic: - // http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=46 - var property = component.GetType().GetProperty(propertyName.Value); - propertyValue.SetValue(property.GetValue(component, null)); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - componentName = null; - propertyName = null; - propertyValue = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs.meta deleted file mode 100644 index 587385b3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/GetPropertyValue.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dda9c9b7c6ff2ee4f95a2e208cddae64 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs deleted file mode 100644 index 7c239dbd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs +++ /dev/null @@ -1,86 +0,0 @@ -using UnityEngine; -using System; -using System.Collections.Generic; -using System.Reflection; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Invokes the specified method with the specified parameters. Can optionally store the return value. Returns success if the method was invoked.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=145")] - [TaskCategory("Reflection")] - [TaskIcon("{SkinColor}ReflectionIcon.png")] - public class InvokeMethod : Action - { - [Tooltip("The GameObject to invoke the method on")] - public SharedGameObject targetGameObject; - [Tooltip("The component to invoke the method on")] - public SharedString componentName; - [Tooltip("The name of the method")] - public SharedString methodName; - [Tooltip("The first parameter of the method")] - public SharedVariable parameter1; - [Tooltip("The second parameter of the method")] - public SharedVariable parameter2; - [Tooltip("The third parameter of the method")] - public SharedVariable parameter3; - [Tooltip("The fourth parameter of the method")] - public SharedVariable parameter4; - [Tooltip("Store the result of the invoke call")] - public SharedVariable storeResult; - - public override TaskStatus OnUpdate() - { - var type = TaskUtility.GetTypeWithinAssembly(componentName.Value); - if (type == null) { - Debug.LogWarning("Unable to invoke - type is null"); - return TaskStatus.Failure; - } - - var component = GetDefaultGameObject(targetGameObject.Value).GetComponent(type); - if (component == null) { - Debug.LogWarning("Unable to invoke method with component " + componentName.Value); - return TaskStatus.Failure; - } - - var parameterList = new List(); - var parameterTypeList = new List(); - SharedVariable sharedVariable = null; - for (int i = 0; i < 4; ++i) { - var parameterField = GetType().GetField("parameter" + (i + 1)); - if ((sharedVariable = parameterField.GetValue(this) as SharedVariable) != null) { - parameterList.Add(sharedVariable.GetValue()); - parameterTypeList.Add(sharedVariable.GetType().GetProperty("Value").PropertyType); - } else { - break; - } - } - // If you are receiving a compiler error on the Windows Store platform see this topic: - // http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=46 - var methodInfo = component.GetType().GetMethod(methodName.Value, parameterTypeList.ToArray()); - - if (methodInfo == null) { - Debug.LogWarning("Unable to invoke method " + methodName.Value + " on component " + componentName.Value); - return TaskStatus.Failure; - } - - var result = methodInfo.Invoke(component, parameterList.ToArray()); - if (storeResult != null) { - storeResult.SetValue(result); - } - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - componentName = null; - methodName = null; - parameter1 = null; - parameter2 = null; - parameter3 = null; - parameter4 = null; - storeResult = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs.meta deleted file mode 100644 index eed4a86a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/InvokeMethod.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 359bd67578f53034ab2eb00e7696d317 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs deleted file mode 100644 index 79675c97..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs +++ /dev/null @@ -1,57 +0,0 @@ -using UnityEngine; -using System; -using System.Reflection; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Sets the field to the value specified. Returns success if the field was set.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=149")] - [TaskCategory("Reflection")] - [TaskIcon("{SkinColor}ReflectionIcon.png")] - public class SetFieldValue : Action - { - [Tooltip("The GameObject to set the field on")] - public SharedGameObject targetGameObject; - [Tooltip("The component to set the field on")] - public SharedString componentName; - [Tooltip("The name of the field")] - public SharedString fieldName; - [Tooltip("The value to set")] - public SharedVariable fieldValue; - - public override TaskStatus OnUpdate() - { - if (fieldValue == null) { - Debug.LogWarning("Unable to get field - field value is null"); - return TaskStatus.Failure; - } - - var type = TaskUtility.GetTypeWithinAssembly(componentName.Value); - if (type == null) { - Debug.LogWarning("Unable to set field - type is null"); - return TaskStatus.Failure; - } - - var component = GetDefaultGameObject(targetGameObject.Value).GetComponent(type); - if (component == null) { - Debug.LogWarning("Unable to set the field with component " + componentName.Value); - return TaskStatus.Failure; - } - - // If you are receiving a compiler error on the Windows Store platform see this topic: - // http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=46 - var field = component.GetType().GetField(fieldName.Value); - field.SetValue(component, fieldValue.GetValue()); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - componentName = null; - fieldName = null; - fieldValue = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs.meta deleted file mode 100644 index 433a991c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetFieldValue.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 21e389787213ba24ab1a6817def634ae -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs deleted file mode 100644 index 9ec7cd08..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs +++ /dev/null @@ -1,57 +0,0 @@ -using UnityEngine; -using System; -using System.Reflection; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Sets the property to the value specified. Returns success if the property was set.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=150")] - [TaskCategory("Reflection")] - [TaskIcon("{SkinColor}ReflectionIcon.png")] - public class SetPropertyValue : Action - { - [Tooltip("The GameObject to set the property on")] - public SharedGameObject targetGameObject; - [Tooltip("The component to set the property on")] - public SharedString componentName; - [Tooltip("The name of the property")] - public SharedString propertyName; - [Tooltip("The value to set")] - public SharedVariable propertyValue; - - public override TaskStatus OnUpdate() - { - if (propertyValue == null) { - Debug.LogWarning("Unable to get field - field value is null"); - return TaskStatus.Failure; - } - - var type = TaskUtility.GetTypeWithinAssembly(componentName.Value); - if (type == null) { - Debug.LogWarning("Unable to set property - type is null"); - return TaskStatus.Failure; - } - - var component = GetDefaultGameObject(targetGameObject.Value).GetComponent(type); - if (component == null) { - Debug.LogWarning("Unable to set the property with component " + componentName.Value); - return TaskStatus.Failure; - } - - // If you are receiving a compiler error on the Windows Store platform see this topic: - // http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=46 - var property = component.GetType().GetProperty(propertyName.Value); - property.SetValue(component, propertyValue.GetValue(), null); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - componentName = null; - propertyName = null; - propertyValue = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs.meta deleted file mode 100644 index 012823b6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Reflection/SetPropertyValue.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d98b13b7ae4b36b4092b439731466d9b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/RestartBehaviorTree.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/RestartBehaviorTree.cs deleted file mode 100644 index a63d9e6c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/RestartBehaviorTree.cs +++ /dev/null @@ -1,56 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Restarts a behavior tree, returns success after it has been restarted.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=66")] - [TaskIcon("{SkinColor}RestartBehaviorTreeIcon.png")] - public class RestartBehaviorTree : Action - { - [Tooltip("The GameObject of the behavior tree that should be restarted. If null use the current behavior")] - public SharedGameObject behaviorGameObject; - [Tooltip("The group of the behavior tree that should be restarted")] - public SharedInt group; - - private Behavior behavior; - - public override void OnAwake() - { - var behaviorTrees = GetDefaultGameObject(behaviorGameObject.Value).GetComponents(); - if (behaviorTrees.Length == 1) { - behavior = behaviorTrees[0]; - } else if (behaviorTrees.Length > 1) { - for (int i = 0; i < behaviorTrees.Length; ++i) { - if (behaviorTrees[i].Group == group.Value) { - behavior = behaviorTrees[i]; - break; - } - } - // If the group can't be found then use the first behavior tree - if (behavior == null) { - behavior = behaviorTrees[0]; - } - } - } - - public override TaskStatus OnUpdate() - { - if (behavior == null) { - return TaskStatus.Failure; - } - - // Stop the behavior tree - behavior.DisableBehavior(); - // Start the behavior tree back up - behavior.EnableBehavior(); - // Return success - return TaskStatus.Success; - } - - public override void OnReset() - { - // Reset the properties back to their original values. - behavior = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/RestartBehaviorTree.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/RestartBehaviorTree.cs.meta deleted file mode 100644 index d1110668..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/RestartBehaviorTree.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2765e7ece98046542880a1249b87e096 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/SendEvent.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/SendEvent.cs deleted file mode 100644 index 76007309..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/SendEvent.cs +++ /dev/null @@ -1,73 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Sends an event to the behavior tree, returns success after sending the event.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=121")] - [TaskIcon("{SkinColor}SendEventIcon.png")] - public class SendEvent : Action - { - [Tooltip("The GameObject of the behavior tree that should have the event sent to it. If null use the current behavior")] - public SharedGameObject targetGameObject; - [Tooltip("The event to send")] - public SharedString eventName; - [Tooltip("The group of the behavior tree that the event should be sent to")] - public SharedInt group; - [Tooltip("Optionally specify a first argument to send")] - [SharedRequired] - public SharedVariable argument1; - [Tooltip("Optionally specify a second argument to send")] - [SharedRequired] - public SharedVariable argument2; - [Tooltip("Optionally specify a third argument to send")] - [SharedRequired] - public SharedVariable argument3; - - private BehaviorTree behaviorTree; - - public override void OnStart() - { - var behaviorTrees = GetDefaultGameObject(targetGameObject.Value).GetComponents(); - if (behaviorTrees.Length == 1) { - behaviorTree = behaviorTrees[0]; - } else if (behaviorTrees.Length > 1) { - for (int i = 0; i < behaviorTrees.Length; ++i) { - if (behaviorTrees[i].Group == group.Value) { - behaviorTree = behaviorTrees[i]; - break; - } - } - // If the group can't be found then use the first behavior tree - if (behaviorTree == null) { - behaviorTree = behaviorTrees[0]; - } - } - } - - public override TaskStatus OnUpdate() - { - // Send the event and return success - if (argument1 == null || argument1.IsNone) { - behaviorTree.SendEvent(eventName.Value); - } else { - if (argument2 == null || argument2.IsNone) { - behaviorTree.SendEvent(eventName.Value, argument1.GetValue()); - } else { - if (argument3 == null || argument3.IsNone) { - behaviorTree.SendEvent(eventName.Value, argument1.GetValue(), argument2.GetValue()); - } else { - behaviorTree.SendEvent(eventName.Value, argument1.GetValue(), argument2.GetValue(), argument3.GetValue()); - } - } - } - return TaskStatus.Success; - } - - public override void OnReset() - { - // Reset the properties back to their original values - targetGameObject = null; - eventName = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/SendEvent.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/SendEvent.cs.meta deleted file mode 100644 index 82bd42cd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/SendEvent.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 53b90428a37913c40b6d415ced4e12f9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/StartBehaviorTree.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/StartBehaviorTree.cs deleted file mode 100644 index 4bc5ebee..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/StartBehaviorTree.cs +++ /dev/null @@ -1,92 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Start a new behavior tree and return success after it has been started.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=20")] - [TaskIcon("{SkinColor}StartBehaviorTreeIcon.png")] - public class StartBehaviorTree : Action - { - [Tooltip("The GameObject of the behavior tree that should be started. If null use the current behavior")] - public SharedGameObject behaviorGameObject; - [Tooltip("The group of the behavior tree that should be started")] - public SharedInt group; - [Tooltip("Should this task wait for the behavior tree to complete?")] - public SharedBool waitForCompletion = false; - [Tooltip("Should the variables be synchronized?")] - public SharedBool synchronizeVariables; - - private bool behaviorComplete; - private Behavior behavior; - - public override void OnStart() - { - var behaviorTrees = GetDefaultGameObject(behaviorGameObject.Value).GetComponents(); - if (behaviorTrees.Length == 1) { - behavior = behaviorTrees[0]; - } else if (behaviorTrees.Length > 1) { - for (int i = 0; i < behaviorTrees.Length; ++i) { - if (behaviorTrees[i].Group == group.Value) { - behavior = behaviorTrees[i]; - break; - } - } - // If the group can't be found then use the first behavior tree - if (behavior == null) { - behavior = behaviorTrees[0]; - } - } - - if (behavior != null) { - var variables = Owner.GetAllVariables(); - if (variables != null && synchronizeVariables.Value) { - for (int i = 0; i < variables.Count; ++i) { - behavior.SetVariableValue(variables[i].Name, variables[i]); - } - } - - behavior.EnableBehavior(); - - if (waitForCompletion.Value) { - behaviorComplete = false; - behavior.OnBehaviorEnd += BehaviorEnded; - } - } - } - - public override TaskStatus OnUpdate() - { - if (behavior == null) { - return TaskStatus.Failure; - } - - // Return a status of running if we are waiting for the behavior tree to end and it hasn't ended yet - if (waitForCompletion.Value && !behaviorComplete) { - return TaskStatus.Running; - } - - return TaskStatus.Success; - } - - private void BehaviorEnded(Behavior behavior) - { - behaviorComplete = true; - } - - public override void OnEnd() - { - if (behavior != null && waitForCompletion.Value) { - behavior.OnBehaviorEnd -= BehaviorEnded; - } - } - - public override void OnReset() - { - // Reset the properties back to their original values. - behaviorGameObject = null; - group = 0; - waitForCompletion = false; - synchronizeVariables = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/StartBehaviorTree.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/StartBehaviorTree.cs.meta deleted file mode 100644 index 31dfed3f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/StartBehaviorTree.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bc3d67c80371297439385b30f4be506c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/StopBehaviorTree.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/StopBehaviorTree.cs deleted file mode 100644 index fe753c5b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/StopBehaviorTree.cs +++ /dev/null @@ -1,57 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Pause or disable a behavior tree and return success after it has been stopped.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=21")] - [TaskIcon("{SkinColor}StopBehaviorTreeIcon.png")] - public class StopBehaviorTree : Action - { - [Tooltip("The GameObject of the behavior tree that should be stopped. If null use the current behavior")] - public SharedGameObject behaviorGameObject; - [Tooltip("The group of the behavior tree that should be stopped")] - public SharedInt group; - [Tooltip("Should the behavior be paused or completely disabled")] - public SharedBool pauseBehavior = false; - - private Behavior behavior; - - public override void OnStart() - { - var behaviorTrees = GetDefaultGameObject(behaviorGameObject.Value).GetComponents(); - if (behaviorTrees.Length == 1) { - behavior = behaviorTrees[0]; - } else if (behaviorTrees.Length > 1) { - for (int i = 0; i < behaviorTrees.Length; ++i) { - if (behaviorTrees[i].Group == group.Value) { - behavior = behaviorTrees[i]; - break; - } - } - // If the group can't be found then use the first behavior tree - if (behavior == null) { - behavior = behaviorTrees[0]; - } - } - } - - public override TaskStatus OnUpdate() - { - if (behavior == null) { - return TaskStatus.Failure; - } - - // Start the behavior and return success. - behavior.DisableBehavior(pauseBehavior.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - // Reset the properties back to their original values - behaviorGameObject = null; - group = 0; - pauseBehavior = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/StopBehaviorTree.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/StopBehaviorTree.cs.meta deleted file mode 100644 index 3e6fe6c7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/StopBehaviorTree.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 130afc7e6aa6e0c4aba29097334aa66b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Wait.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Wait.cs deleted file mode 100644 index 41f77a21..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Wait.cs +++ /dev/null @@ -1,67 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Wait a specified amount of time. The task will return running until the task is done waiting. It will return success after the wait time has elapsed.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=22")] - [TaskIcon("{SkinColor}WaitIcon.png")] - public class Wait : Action - { - [Tooltip("The amount of time to wait")] - public SharedFloat waitTime = 1; - [Tooltip("Should the wait be randomized?")] - public SharedBool randomWait = false; - [Tooltip("The minimum wait time if random wait is enabled")] - public SharedFloat randomWaitMin = 1; - [Tooltip("The maximum wait time if random wait is enabled")] - public SharedFloat randomWaitMax = 1; - - // The time to wait - private float waitDuration; - // The time that the task started to wait. - private float startTime; - // Remember the time that the task is paused so the time paused doesn't contribute to the wait time. - private float pauseTime; - - public override void OnStart() - { - // Remember the start time. - startTime = Time.time; - if (randomWait.Value) { - waitDuration = Random.Range(randomWaitMin.Value, randomWaitMax.Value); - } else { - waitDuration = waitTime.Value; - } - } - - public override TaskStatus OnUpdate() - { - // The task is done waiting if the time waitDuration has elapsed since the task was started. - if (startTime + waitDuration < Time.time) { - return TaskStatus.Success; - } - // Otherwise we are still waiting. - return TaskStatus.Running; - } - - public override void OnPause(bool paused) - { - if (paused) { - // Remember the time that the behavior was paused. - pauseTime = Time.time; - } else { - // Add the difference between Time.time and pauseTime to figure out a new start time. - startTime += (Time.time - pauseTime); - } - } - - public override void OnReset() - { - // Reset the public properties back to their original values - waitTime = 1; - randomWait = false; - randomWaitMin = 1; - randomWaitMax = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Wait.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Wait.cs.meta deleted file mode 100644 index e7138e51..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Actions/Wait.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 67824d2e00531d84db9973773e4426e9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks.meta deleted file mode 100644 index 3737f10d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: de0476b4548c1d4408860e4ee2dd9471 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation.meta deleted file mode 100644 index b98c7eed..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: fa1395121fbad8b40934c69350e58065 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Blend.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Blend.cs deleted file mode 100644 index c37744a1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Blend.cs +++ /dev/null @@ -1,51 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimation -{ - [TaskCategory("Basic/Animation")] - [TaskDescription("Blends the animation. Returns Success.")] - public class Blend : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the animation")] - public SharedString animationName; - [Tooltip("The weight the animation should blend to")] - public float targetWeight = 1; - [Tooltip("The amount of time it takes to blend")] - public float fadeLength = 0.3f; - - // cache the animation component - private Animation animation; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animation = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animation == null) { - Debug.LogWarning("Animation is null"); - return TaskStatus.Failure; - } - - animation.Blend(animationName.Value, targetWeight, fadeLength); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - animationName = ""; - targetWeight = 1; - fadeLength = 0.3f; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Blend.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Blend.cs.meta deleted file mode 100644 index 191ac404..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Blend.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dc0640154eb6b674e89f4a2ec1632696 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFade.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFade.cs deleted file mode 100644 index 38fcc324..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFade.cs +++ /dev/null @@ -1,51 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimation -{ - [TaskCategory("Basic/Animation")] - [TaskDescription("Fades the animation over a period of time and fades other animations out. Returns Success.")] - public class CrossFade : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the animation")] - public SharedString animationName; - [Tooltip("The amount of time it takes to blend")] - public float fadeLength = 0.3f; - [Tooltip("The play mode of the animation")] - public PlayMode playMode = PlayMode.StopSameLayer; - - // cache the animation component - private Animation animation; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animation = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animation == null) { - Debug.LogWarning("Animation is null"); - return TaskStatus.Failure; - } - - animation.CrossFade(animationName.Value, fadeLength, playMode); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - animationName.Value = ""; - fadeLength = 0.3f; - playMode = PlayMode.StopSameLayer; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFade.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFade.cs.meta deleted file mode 100644 index dd091e17..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFade.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 57d9d1509d13e454caae6f3219c83cc7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFadeQueued.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFadeQueued.cs deleted file mode 100644 index 4c2e9c89..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFadeQueued.cs +++ /dev/null @@ -1,54 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimation -{ - [TaskCategory("Basic/Animation")] - [TaskDescription("Cross fades an animation after previous animations has finished playing. Returns Success.")] - public class CrossFadeQueued : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the animation")] - public SharedString animationName; - [Tooltip("The amount of time it takes to blend")] - public float fadeLength = 0.3f; - [Tooltip("Specifies when the animation should start playing")] - public QueueMode queue = QueueMode.CompleteOthers; - [Tooltip("The play mode of the animation")] - public PlayMode playMode = PlayMode.StopSameLayer; - - // cache the animation component - private Animation animation; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animation = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animation == null) { - Debug.LogWarning("Animation is null"); - return TaskStatus.Failure; - } - - animation.CrossFadeQueued(animationName.Value, fadeLength, queue, playMode); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - animationName.Value = ""; - fadeLength = 0.3f; - queue = QueueMode.CompleteOthers; - playMode = PlayMode.StopSameLayer; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFadeQueued.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFadeQueued.cs.meta deleted file mode 100644 index fda00b91..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/CrossFadeQueued.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c1cc2a160ee1978488696564200b3c25 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/GetAnimatePhysics.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/GetAnimatePhysics.cs deleted file mode 100644 index 5f0d49de..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/GetAnimatePhysics.cs +++ /dev/null @@ -1,46 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimation -{ - [TaskCategory("Basic/Animation")] - [TaskDescription("Stores the animate physics value. Returns Success.")] - public class GetAnimatePhysics : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Are the if animations are executed in the physics loop?")] - [RequiredField] - public SharedBool storeValue; - - // cache the animation component - private Animation animation; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animation = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animation == null) { - Debug.LogWarning("Animation is null"); - return TaskStatus.Failure; - } - - storeValue.Value = animation.animatePhysics; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue.Value = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/GetAnimatePhysics.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/GetAnimatePhysics.cs.meta deleted file mode 100644 index 4bb05d26..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/GetAnimatePhysics.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b5bd2b0ed07f42142934568bd6813619 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/IsPlaying.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/IsPlaying.cs deleted file mode 100644 index f86a854b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/IsPlaying.cs +++ /dev/null @@ -1,47 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimation -{ - [TaskCategory("Basic/Animation")] - [TaskDescription("Returns Success if the animation is currently playing.")] - public class IsPlaying : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the animation")] - public SharedString animationName; - - // cache the animation component - private Animation animation; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animation = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animation == null) { - Debug.LogWarning("Animation is null"); - return TaskStatus.Failure; - } - - if (string.IsNullOrEmpty(animationName.Value)) { - return animation.isPlaying ? TaskStatus.Success : TaskStatus.Failure; - } else { - return animation.IsPlaying(animationName.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - } - - public override void OnReset() - { - targetGameObject = null; - animationName.Value = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/IsPlaying.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/IsPlaying.cs.meta deleted file mode 100644 index ac35dc24..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/IsPlaying.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ce80475167d230d4181baa69071465ff -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Play.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Play.cs deleted file mode 100644 index 4661c83d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Play.cs +++ /dev/null @@ -1,52 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimation -{ - [TaskCategory("Basic/Animation")] - [TaskDescription("Plays animation without any blending. Returns Success.")] - public class Play : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the animation")] - public SharedString animationName; - [Tooltip("The play mode of the animation")] - public PlayMode playMode = PlayMode.StopSameLayer; - - // cache the animation component - private Animation animation; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animation = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animation == null) { - Debug.LogWarning("Animation is null"); - return TaskStatus.Failure; - } - - if (string.IsNullOrEmpty(animationName.Value)) { - animation.Play(); - } else { - animation.Play(animationName.Value, playMode); - } - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - animationName.Value = ""; - playMode = PlayMode.StopSameLayer; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Play.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Play.cs.meta deleted file mode 100644 index b89dbdf0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Play.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0b1bf3b05e79dcc468cf71b63d54a4cd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/PlayQueued.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/PlayQueued.cs deleted file mode 100644 index 7be1b507..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/PlayQueued.cs +++ /dev/null @@ -1,51 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimation -{ - [TaskCategory("Basic/Animation")] - [TaskDescription("Plays an animation after previous animations has finished playing. Returns Success.")] - public class PlayQueued : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the animation")] - public SharedString animationName; - [Tooltip("Specifies when the animation should start playing")] - public QueueMode queue = QueueMode.CompleteOthers; - [Tooltip("The play mode of the animation")] - public PlayMode playMode = PlayMode.StopSameLayer; - - // cache the animation component - private Animation animation; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animation = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animation == null) { - Debug.LogWarning("Animation is null"); - return TaskStatus.Failure; - } - - animation.PlayQueued(animationName.Value, queue, playMode); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - animationName.Value = ""; - queue = QueueMode.CompleteOthers; - playMode = PlayMode.StopSameLayer; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/PlayQueued.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/PlayQueued.cs.meta deleted file mode 100644 index 5a578270..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/PlayQueued.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bb55ee97bf8cb3d479de025d77a9c4b6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Rewind.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Rewind.cs deleted file mode 100644 index c8bc35b5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Rewind.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimation -{ - [TaskCategory("Basic/Animation")] - [TaskDescription("Rewinds an animation. Rewinds all animations if animationName is blank. Returns Success.")] - public class Rewind : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the animation")] - public SharedString animationName; - - // cache the animation component - private Animation animation; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animation = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animation == null) { - Debug.LogWarning("Animation is null"); - return TaskStatus.Failure; - } - - if (string.IsNullOrEmpty(animationName.Value)) { - animation.Rewind(); - } else { - animation.Rewind(animationName.Value); - } - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - animationName.Value = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Rewind.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Rewind.cs.meta deleted file mode 100644 index 29a969f7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Rewind.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 364beb9f6996556449b9f3e03db75290 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Sample.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Sample.cs deleted file mode 100644 index 3620122c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Sample.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimation -{ - [TaskCategory("Basic/Animation")] - [TaskDescription("Samples animations at the current state. Returns Success.")] - public class Sample : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - // cache the animation component - private Animation animation; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animation = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animation == null) { - Debug.LogWarning("Animation is null"); - return TaskStatus.Failure; - } - - animation.Sample(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Sample.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Sample.cs.meta deleted file mode 100644 index ebb26237..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Sample.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2cc64c997b5d6e640af8cc9bd7cf1b5d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetAnimatePhysics.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetAnimatePhysics.cs deleted file mode 100644 index 14bdac19..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetAnimatePhysics.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimation -{ - [TaskCategory("Basic/Animation")] - [TaskDescription("Sets animate physics to the specified value. Returns Success.")] - public class SetAnimatePhysics : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Are animations executed in the physics loop?")] - public SharedBool animatePhysics; - - // cache the animation component - private Animation animation; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animation = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animation == null) { - Debug.LogWarning("Animation is null"); - return TaskStatus.Failure; - } - - animation.animatePhysics = animatePhysics.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - animatePhysics.Value = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetAnimatePhysics.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetAnimatePhysics.cs.meta deleted file mode 100644 index dda3f075..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetAnimatePhysics.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f93fd0c7638add0468744d4f7249c1a7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetWrapMode.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetWrapMode.cs deleted file mode 100644 index 4194b81e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetWrapMode.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimation -{ - [TaskCategory("Basic/Animation")] - [TaskDescription("Sets the wrap mode to the specified value. Returns Success.")] - public class SetWrapMode : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("How should time beyond the playback range of the clip be treated?")] - public WrapMode wrapMode = WrapMode.Default; - - // cache the animation component - private Animation animation; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animation = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animation == null) { - Debug.LogWarning("Animation is null"); - return TaskStatus.Failure; - } - - animation.wrapMode = wrapMode; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - wrapMode = WrapMode.Default; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetWrapMode.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetWrapMode.cs.meta deleted file mode 100644 index 7b815d1d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/SetWrapMode.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 39af69a1e220fc2419a5d34933029ff9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Stop.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Stop.cs deleted file mode 100644 index 8625b0bd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Stop.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimation -{ - [TaskCategory("Basic/Animation")] - [TaskDescription("Stops an animation. Stops all animations if animationName is blank. Returns Success.")] - public class Stop : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the animation")] - public SharedString animationName; - - // cache the animation component - private Animation animation; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animation = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animation == null) { - Debug.LogWarning("Animation is null"); - return TaskStatus.Failure; - } - - if (string.IsNullOrEmpty(animationName.Value)) { - animation.Stop(); - } else { - animation.Stop(animationName.Value); - } - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - animationName = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Stop.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Stop.cs.meta deleted file mode 100644 index 8edc170a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animation/Stop.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c3dca423f03e936449fdb622cac3f430 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator.meta deleted file mode 100644 index c33fce93..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 0b46617b2906c0049b19ab613fae2882 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/CrossFade.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/CrossFade.cs deleted file mode 100644 index 7080ce76..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/CrossFade.cs +++ /dev/null @@ -1,53 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Creates a dynamic transition between the current state and the destination state. Returns Success.")] - public class CrossFade : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the state")] - public SharedString stateName; - [Tooltip("The duration of the transition. Value is in source state normalized time")] - public SharedFloat transitionDuration; - [Tooltip("The layer where the state is")] - public int layer = -1; - [Tooltip("The normalized time at which the state will play")] - public float normalizedTime = float.NegativeInfinity; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - animator.CrossFade(stateName.Value, transitionDuration.Value, layer, normalizedTime); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - stateName = ""; - transitionDuration = 0; - layer = -1; - normalizedTime = float.NegativeInfinity; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/CrossFade.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/CrossFade.cs.meta deleted file mode 100644 index d67ad7da..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/CrossFade.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 09e5aba2adc719f42876293bcbea7819 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetApplyRootMotion.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetApplyRootMotion.cs deleted file mode 100644 index 7ec1ecab..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetApplyRootMotion.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Stores if root motion is applied. Returns Success.")] - public class GetApplyRootMotion : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Is root motion applied?")] - [RequiredField] - public SharedBool storeValue; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - storeValue.Value = animator.applyRootMotion; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetApplyRootMotion.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetApplyRootMotion.cs.meta deleted file mode 100644 index de18f15c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetApplyRootMotion.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 872c96b3950799546863110b7e54d0c8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetBoolParameter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetBoolParameter.cs deleted file mode 100644 index 83b5903b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetBoolParameter.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Stores the bool parameter on an animator. Returns Success.")] - public class GetBoolParameter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the parameter")] - public SharedString paramaterName; - [Tooltip("The value of the bool parameter")] - [RequiredField] - public SharedBool storeValue; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - storeValue.Value = animator.GetBool(paramaterName.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - paramaterName = ""; - storeValue = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetBoolParameter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetBoolParameter.cs.meta deleted file mode 100644 index daf50ea0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetBoolParameter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2aeb7ebc08541794aa3ed0343c49c9f9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaPosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaPosition.cs deleted file mode 100644 index aefb2595..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaPosition.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Gets the avatar delta position for the last evaluated frame. Returns Success.")] - public class GetDeltaPosition : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The avatar delta position")] - [RequiredField] - public SharedVector3 storeValue; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - storeValue.Value = animator.deltaPosition; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaPosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaPosition.cs.meta deleted file mode 100644 index 472f73da..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaPosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9c44c26d5d6b3484397b8aa6ed658b1e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaRotation.cs deleted file mode 100644 index 565ab751..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaRotation.cs +++ /dev/null @@ -1,46 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Gets the avatar delta rotation for the last evaluated frame. Returns Success.")] - public class GetDeltaRotation : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The avatar delta rotation")] - [RequiredField] - public SharedQuaternion storeValue; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - storeValue.Value = animator.deltaRotation; - - return TaskStatus.Success; - } - - public override void OnReset() - { - if (storeValue != null) { - storeValue.Value = Quaternion.identity; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaRotation.cs.meta deleted file mode 100644 index a26ba42a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetDeltaRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f120073dca714344495aa139eea16e2b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetFloatParameter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetFloatParameter.cs deleted file mode 100644 index 6e28cb9c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetFloatParameter.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Stores the float parameter on an animator. Returns Success.")] - public class GetFloatParameter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the parameter")] - public SharedString paramaterName; - [Tooltip("The value of the float parameter")] - [RequiredField] - public SharedFloat storeValue; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - storeValue.Value = animator.GetFloat(paramaterName.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - paramaterName = ""; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetFloatParameter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetFloatParameter.cs.meta deleted file mode 100644 index 3dcbccc5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetFloatParameter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d33dbb5444b5bbe44bb200e39823cfe1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetGravityWeight.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetGravityWeight.cs deleted file mode 100644 index a1bb9508..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetGravityWeight.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Stores the current gravity weight based on current animations that are played. Returns Success.")] - public class GetGravityWeight : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The value of the gravity weight")] - [RequiredField] - public SharedFloat storeValue; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - storeValue.Value = animator.gravityWeight; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetGravityWeight.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetGravityWeight.cs.meta deleted file mode 100644 index 21b687ce..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetGravityWeight.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 945593329da80b44898e7e1ae1883d07 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetIntegerParameter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetIntegerParameter.cs deleted file mode 100644 index ce424589..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetIntegerParameter.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Stores the integer parameter on an animator. Returns Success.")] - public class GetIntegerParameter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the parameter")] - public SharedString paramaterName; - [Tooltip("The value of the integer parameter")] - [RequiredField] - public SharedInt storeValue; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - storeValue.Value = animator.GetInteger(paramaterName.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - paramaterName = ""; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetIntegerParameter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetIntegerParameter.cs.meta deleted file mode 100644 index 6834594b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetIntegerParameter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c8640eaeae64c2e48ba85336474d59d8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetLayerWeight.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetLayerWeight.cs deleted file mode 100644 index 679dc943..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetLayerWeight.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Stores the layer's weight. Returns Success.")] - public class GetLayerWeight : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The index of the layer")] - public SharedInt index; - [Tooltip("The value of the float parameter")] - [RequiredField] - public SharedFloat storeValue; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - storeValue.Value = animator.GetLayerWeight(index.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - index = 0; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetLayerWeight.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetLayerWeight.cs.meta deleted file mode 100644 index 4c0e6cab..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetLayerWeight.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 346c4295a827d9e4c8029cd29a8e18ca -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetSpeed.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetSpeed.cs deleted file mode 100644 index 5382e259..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetSpeed.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Stores the playback speed of the animator. 1 is normal playback speed. Returns Success.")] - public class GetSpeed : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The playback speed of the Animator")] - [RequiredField] - public SharedFloat storeValue; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - storeValue.Value = animator.speed; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetSpeed.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetSpeed.cs.meta deleted file mode 100644 index c4d6ee6b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetSpeed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f87648f776ab12c45883b01e9bebc6a3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetStringToHash.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetStringToHash.cs deleted file mode 100644 index a7a9843b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetStringToHash.cs +++ /dev/null @@ -1,28 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Converts the state name to its corresponding hash code. Returns Success.")] - public class GetStringToHash : Action - { - [Tooltip("The name of the state to convert to a hash code")] - public SharedString stateName; - [Tooltip("The hash value")] - [RequiredField] - public SharedInt storeValue; - - public override TaskStatus OnUpdate() - { - storeValue.Value = Animator.StringToHash(stateName.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - stateName = ""; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetStringToHash.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetStringToHash.cs.meta deleted file mode 100644 index f0f50384..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/GetStringToHash.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 234dcf26bcb550043b3b5de33f0e6a11 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/InterruptMatchTarget.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/InterruptMatchTarget.cs deleted file mode 100644 index d958848e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/InterruptMatchTarget.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Interrupts the automatic target matching. Returns Success.")] - public class InterruptMatchTarget : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("CompleteMatch will make the gameobject match the target completely at the next frame")] - public bool completeMatch = true; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - animator.InterruptMatchTarget(completeMatch); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - completeMatch = true; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/InterruptMatchTarget.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/InterruptMatchTarget.cs.meta deleted file mode 100644 index 0753ae2d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/InterruptMatchTarget.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 766d802f8842a2945b11253f60d431bb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsInTransition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsInTransition.cs deleted file mode 100644 index e9366eaa..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsInTransition.cs +++ /dev/null @@ -1,42 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Returns success if the specified AnimatorController layer in a transition.")] - public class IsInTransition : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The layer's index")] - public SharedInt index; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - return animator.IsInTransition(index.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - index = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsInTransition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsInTransition.cs.meta deleted file mode 100644 index 39c1452c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsInTransition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 48c086aaf693a604d8b83eabac3b568e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsName.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsName.cs deleted file mode 100644 index 38869983..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsName.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Returns success if the specified name matches the name of the active state.")] - public class IsName : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The layer's index")] - public SharedInt index; - [Tooltip("The state name to compare")] - public SharedString name; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - return animator.GetCurrentAnimatorStateInfo(index.Value).IsName(name.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - index = 0; - name = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsName.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsName.cs.meta deleted file mode 100644 index 7f8263ae..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsName.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 96051e2f6a0e7ea42a493e6245e4ccde -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsParameterControlledByCurve.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsParameterControlledByCurve.cs deleted file mode 100644 index 84664930..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsParameterControlledByCurve.cs +++ /dev/null @@ -1,42 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Returns success if the specified parameter is controlled by an additional curve on an animation.")] - public class IsParameterControlledByCurve : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the parameter")] - public SharedString paramaterName; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - return animator.IsParameterControlledByCurve(paramaterName.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - paramaterName = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsParameterControlledByCurve.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsParameterControlledByCurve.cs.meta deleted file mode 100644 index 80412d1a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/IsParameterControlledByCurve.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c5eb4141402ab7c4abb1d4a5c687a757 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/MatchTarget.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/MatchTarget.cs deleted file mode 100644 index c0137247..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/MatchTarget.cs +++ /dev/null @@ -1,62 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Automatically adjust the gameobject position and rotation so that the AvatarTarget reaches the matchPosition when the current state is at the specified progress. Returns Success.")] - public class MatchTarget : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The position we want the body part to reach")] - public SharedVector3 matchPosition; - [Tooltip("The rotation in which we want the body part to be")] - public SharedQuaternion matchRotation; - [Tooltip("The body part that is involved in the match")] - public AvatarTarget targetBodyPart; - [Tooltip("Weights for matching position")] - public Vector3 weightMaskPosition; - [Tooltip("Weights for matching rotation")] - public float weightMaskRotation; - [Tooltip("Start time within the animation clip")] - public float startNormalizedTime; - [Tooltip("End time within the animation clip")] - public float targetNormalizedTime = 1; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - animator.MatchTarget(matchPosition.Value, matchRotation.Value, targetBodyPart, new MatchTargetWeightMask(weightMaskPosition, weightMaskRotation), startNormalizedTime, targetNormalizedTime); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - matchPosition = Vector3.zero; - matchRotation = Quaternion.identity; - targetBodyPart = AvatarTarget.Root; - weightMaskPosition = Vector3.zero; - weightMaskRotation = 0; - startNormalizedTime = 0; - targetNormalizedTime = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/MatchTarget.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/MatchTarget.cs.meta deleted file mode 100644 index d4cfe707..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/MatchTarget.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e0e788b711539ed4dad258780be29de6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/Play.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/Play.cs deleted file mode 100644 index e76934df..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/Play.cs +++ /dev/null @@ -1,50 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Plays an animator state. Returns Success.")] - public class Play : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the state")] - public SharedString stateName; - [Tooltip("The layer where the state is")] - public int layer = -1; - [Tooltip("The normalized time at which the state will play")] - public float normalizedTime = float.NegativeInfinity; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - animator.Play(stateName.Value, layer, normalizedTime); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - stateName = ""; - layer = -1; - normalizedTime = float.NegativeInfinity; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/Play.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/Play.cs.meta deleted file mode 100644 index 5d05a683..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/Play.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a62df911d37cd8349b0168f875cd58ea -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetApplyRootMotion.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetApplyRootMotion.cs deleted file mode 100644 index c6c81be8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetApplyRootMotion.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Sets if root motion is applied. Returns Success.")] - public class SetApplyRootMotion : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Is root motion applied?")] - public SharedBool rootMotion; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - animator.applyRootMotion = rootMotion.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - rootMotion = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetApplyRootMotion.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetApplyRootMotion.cs.meta deleted file mode 100644 index dac11abd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetApplyRootMotion.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f10479b97efcbb94a8089a12bf891b5b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetBoolParameter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetBoolParameter.cs deleted file mode 100644 index 2f8a93c5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetBoolParameter.cs +++ /dev/null @@ -1,62 +0,0 @@ -using UnityEngine; -using System.Collections; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Sets the bool parameter on an animator. Returns Success.")] - public class SetBoolParameter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the parameter")] - public SharedString paramaterName; - [Tooltip("The value of the bool parameter")] - public SharedBool boolValue; - [Tooltip("Should the value be reverted back to its original value after it has been set?")] - public bool setOnce; - - private int hashID; - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - hashID = UnityEngine.Animator.StringToHash(paramaterName.Value); - - bool prevValue = animator.GetBool(hashID); - animator.SetBool(hashID, boolValue.Value); - if (setOnce) { - StartCoroutine(ResetValue(prevValue)); - } - return TaskStatus.Success; - } - - public IEnumerator ResetValue(bool origVale) - { - yield return null; - animator.SetBool(hashID, origVale); - } - - public override void OnReset() - { - targetGameObject = null; - paramaterName = ""; - boolValue = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetBoolParameter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetBoolParameter.cs.meta deleted file mode 100644 index 7bd49fa8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetBoolParameter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 04e0905e87bf90a408551067942c08c7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetFloatParameter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetFloatParameter.cs deleted file mode 100644 index 77093432..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetFloatParameter.cs +++ /dev/null @@ -1,63 +0,0 @@ -using UnityEngine; -using System.Collections; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Sets the float parameter on an animator. Returns Success.")] - public class SetFloatParameter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the parameter")] - public SharedString paramaterName; - [Tooltip("The value of the float parameter")] - public SharedFloat floatValue; - [Tooltip("Should the value be reverted back to its original value after it has been set?")] - public bool setOnce; - - private int hashID; - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - hashID = UnityEngine.Animator.StringToHash(paramaterName.Value); - - float prevValue = animator.GetFloat(hashID); - animator.SetFloat(hashID, floatValue.Value); - if (setOnce) { - StartCoroutine(ResetValue(prevValue)); - } - - return TaskStatus.Success; - } - - public IEnumerator ResetValue(float origVale) - { - yield return null; - animator.SetFloat(hashID, origVale); - } - - public override void OnReset() - { - targetGameObject = null; - paramaterName = ""; - floatValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetFloatParameter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetFloatParameter.cs.meta deleted file mode 100644 index 9e216986..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetFloatParameter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b601abdc989d2ce4f8dc0d3434705814 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetIntegerParameter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetIntegerParameter.cs deleted file mode 100644 index 39fdcca7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetIntegerParameter.cs +++ /dev/null @@ -1,63 +0,0 @@ -using UnityEngine; -using System.Collections; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Sets the int parameter on an animator. Returns Success.")] - public class SetIntegerParameter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the parameter")] - public SharedString paramaterName; - [Tooltip("The value of the int parameter")] - public SharedInt intValue; - [Tooltip("Should the value be reverted back to its original value after it has been set?")] - public bool setOnce; - - private int hashID; - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - hashID = UnityEngine.Animator.StringToHash(paramaterName.Value); - - int prevValue = animator.GetInteger(hashID); - animator.SetInteger(hashID, intValue.Value); - if (setOnce) { - StartCoroutine(ResetValue(prevValue)); - } - - return TaskStatus.Success; - } - - public IEnumerator ResetValue(int origVale) - { - yield return null; - animator.SetInteger(hashID, origVale); - } - - public override void OnReset() - { - targetGameObject = null; - paramaterName = ""; - intValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetIntegerParameter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetIntegerParameter.cs.meta deleted file mode 100644 index ded6b0ed..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetIntegerParameter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 07345b9144172a74892b176413bf9ac3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLayerWeight.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLayerWeight.cs deleted file mode 100644 index ae5b529f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLayerWeight.cs +++ /dev/null @@ -1,47 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Sets the layer's current weight. Returns Success.")] - public class SetLayerWeight : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The layer's index")] - public SharedInt index; - [Tooltip("The weight of the layer")] - public SharedFloat weight; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - animator.SetLayerWeight(index.Value, weight.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - index = 0; - weight = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLayerWeight.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLayerWeight.cs.meta deleted file mode 100644 index 6ee4ea45..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLayerWeight.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 979ffd79261d4bb499331ba9fa80ed7d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtPosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtPosition.cs deleted file mode 100644 index 9137ec56..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtPosition.cs +++ /dev/null @@ -1,53 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Sets the look at position. Returns Success.")] - public class SetLookAtPosition : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The position to lookAt")] - public SharedVector3 position; - - private Animator animator; - private GameObject prevGameObject; - private bool positionSet; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - positionSet = false; - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - return positionSet ? TaskStatus.Success : TaskStatus.Running; - } - - public override void OnAnimatorIK() - { - if (animator == null) { - return; - } - animator.SetLookAtPosition(position.Value); - positionSet = true; - } - - public override void OnReset() - { - targetGameObject = null; - position = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtPosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtPosition.cs.meta deleted file mode 100644 index 9cca866d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtPosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 31c4894aafa2b7f40984915713cff50b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtWeight.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtWeight.cs deleted file mode 100644 index f6b9102a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtWeight.cs +++ /dev/null @@ -1,66 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Sets the look at weight. Returns success immediately after.")] - public class SetLookAtWeight : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("(0-1) the global weight of the LookAt, multiplier for other parameters.")] - public SharedFloat weight; - [Tooltip("(0-1) determines how much the body is involved in the LookAt.")] - public float bodyWeight; - [Tooltip("(0-1) determines how much the head is involved in the LookAt.")] - public float headWeight = 1; - [Tooltip("(0-1) determines how much the eyes are involved in the LookAt.")] - public float eyesWeight; - [Tooltip("(0-1) 0.0 means the character is completely unrestrained in motion, 1.0 means he's completely clamped " + - "(look at becomes impossible), and 0.5 means he'll be able to move on half of the possible range (180 degrees).")] - public float clampWeight = 0.5f; - - private Animator animator; - private GameObject prevGameObject; - private bool weightSet; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - weightSet = false; - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - return weightSet ? TaskStatus.Success : TaskStatus.Running; - } - - public override void OnAnimatorIK() - { - if (animator == null) { - return; - } - animator.SetLookAtWeight(weight.Value, bodyWeight, headWeight, eyesWeight, clampWeight); - weightSet = true; - } - - public override void OnReset() - { - targetGameObject = null; - weight = 0; - bodyWeight = 0; - headWeight = 1; - eyesWeight = 0; - clampWeight = 0.5f; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtWeight.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtWeight.cs.meta deleted file mode 100644 index f69692c9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetLookAtWeight.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1d700204dde35cd4c9e5a8553089127e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetSpeed.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetSpeed.cs deleted file mode 100644 index e38f45ba..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetSpeed.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Sets the playback speed of the Animator. 1 is normal playback speed. Returns Success.")] - public class SetSpeed : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The playback speed of the Animator")] - public SharedFloat speed; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - animator.speed = speed.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - speed = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetSpeed.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetSpeed.cs.meta deleted file mode 100644 index f30c47bd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetSpeed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b5cd3c9afb48ee541afcce2dade6bc6a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetTrigger.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetTrigger.cs deleted file mode 100644 index 085fe89b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetTrigger.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Sets a trigger parameter to active or inactive. Returns Success.")] - public class SetTrigger : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the parameter")] - public SharedString paramaterName; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - animator.SetTrigger(paramaterName.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - paramaterName.Value = ""; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetTrigger.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetTrigger.cs.meta deleted file mode 100644 index fc5f8f1e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/SetTrigger.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 004807d2b68cad7459f6d84ce1274c16 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartPlayback.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartPlayback.cs deleted file mode 100644 index 6c35b0e9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartPlayback.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Sets the animator in playback mode.")] - public class StartPlayback : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - animator.StartPlayback(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartPlayback.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartPlayback.cs.meta deleted file mode 100644 index 7332f68e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartPlayback.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 46d4b19160ba8774ea6100dda4288753 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartRecording.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartRecording.cs deleted file mode 100644 index f9ebf502..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartRecording.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Sets the animator in recording mode. Returns Success.")] - public class StartRecording : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The number of frames (updates) that will be recorded")] - public int frameCount; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - animator.StartRecording(frameCount); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - frameCount = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartRecording.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartRecording.cs.meta deleted file mode 100644 index 87f0ddb2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StartRecording.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d6f14b502ed889444a0e44e8cb06e767 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopPlayback.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopPlayback.cs deleted file mode 100644 index 8096b930..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopPlayback.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Stops the animator playback mode. Returns Success.")] - public class StopPlayback : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - animator.StopPlayback(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopPlayback.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopPlayback.cs.meta deleted file mode 100644 index eb10c87f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopPlayback.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7daa3c083e51ad44a8c8b05bb4e70689 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopRecording.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopRecording.cs deleted file mode 100644 index cd531c7f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopRecording.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAnimator -{ - [TaskCategory("Basic/Animator")] - [TaskDescription("Stops animator record mode. Returns Success.")] - public class StopRecording : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private Animator animator; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - animator = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (animator == null) { - Debug.LogWarning("Animator is null"); - return TaskStatus.Failure; - } - - animator.StopRecording(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopRecording.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopRecording.cs.meta deleted file mode 100644 index d8001590..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Animator/StopRecording.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c62c2817a5d72054caebff852d50ef17 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource.meta deleted file mode 100644 index e4a0e09d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 8d2af13ebd5ef0b428b7ea2a3eb85c95 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerPause.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerPause.cs deleted file mode 100644 index e0906252..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerPause.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Stores the ignore listener pause value of the AudioSource. Returns Success.")] - public class GetIgnoreListenerPause : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The ignore listener pause value of the AudioSource")] - [RequiredField] - public SharedBool storeValue; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - storeValue.Value = audioSource.ignoreListenerPause; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = false; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerPause.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerPause.cs.meta deleted file mode 100644 index aca007cf..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerPause.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b3bd7bb287fe91747bca60ebe3d53e87 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerVolume.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerVolume.cs deleted file mode 100644 index 12885ddf..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerVolume.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Stores the ignore listener volume value of the AudioSource. Returns Success.")] - public class GetIgnoreListenerVolume : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The ignore listener volume value of the AudioSource")] - [RequiredField] - public SharedBool storeValue; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - storeValue.Value = audioSource.ignoreListenerVolume; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerVolume.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerVolume.cs.meta deleted file mode 100644 index 5176b8f8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetIgnoreListenerVolume.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c45986918364dfc4e9eca01d2839e2e4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetLoop.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetLoop.cs deleted file mode 100644 index c1cd0a7d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetLoop.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Stores the loop value of the AudioSource. Returns Success.")] - public class GetLoop : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The loop value of the AudioSource")] - [RequiredField] - public SharedBool storeValue; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - storeValue.Value = audioSource.loop; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetLoop.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetLoop.cs.meta deleted file mode 100644 index a5d37f95..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetLoop.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 699b9d0d798a219459c6477d2c21d4ba -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMaxDistance.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMaxDistance.cs deleted file mode 100644 index cf8b9ed3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMaxDistance.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Stores the max distance value of the AudioSource. Returns Success.")] - public class GetMaxDistance : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The max distance value of the AudioSource")] - [RequiredField] - public SharedFloat storeValue; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - storeValue.Value = audioSource.maxDistance; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMaxDistance.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMaxDistance.cs.meta deleted file mode 100644 index 2cb3e832..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMaxDistance.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3e2b2500d8e2b0c45825c0650f64eae2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMinDistance.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMinDistance.cs deleted file mode 100644 index 6fe9aed3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMinDistance.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Stores the min distance value of the AudioSource. Returns Success.")] - public class GetMinDistance : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The min distance value of the AudioSource")] - [RequiredField] - public SharedFloat storeValue; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - storeValue.Value = audioSource.minDistance; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMinDistance.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMinDistance.cs.meta deleted file mode 100644 index 20401fd0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMinDistance.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cad762e82ef22644ca968b4a1c51eaec -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMute.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMute.cs deleted file mode 100644 index f2cee2f2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMute.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Stores the mute value of the AudioSource. Returns Success.")] - public class GetMute : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The mute value of the AudioSource")] - [RequiredField] - public SharedBool storeValue; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - storeValue.Value = audioSource.mute; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMute.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMute.cs.meta deleted file mode 100644 index 71acfb23..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetMute.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 51df88b2df77e294cb673105b1c36961 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPitch.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPitch.cs deleted file mode 100644 index 21ddf55d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPitch.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Stores the pitch value of the AudioSource. Returns Success.")] - public class GetPitch : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The pitch value of the AudioSource")] - [RequiredField] - public SharedFloat storeValue; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - storeValue.Value = audioSource.pitch; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPitch.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPitch.cs.meta deleted file mode 100644 index c23193a0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPitch.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 930fa7881ae9236449d90546f9922656 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPriority.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPriority.cs deleted file mode 100644 index bb519ef0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPriority.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Stores the priority value of the AudioSource. Returns Success.")] - public class GetPriority : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The priority value of the AudioSource")] - [RequiredField] - public SharedInt storeValue; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - storeValue.Value = audioSource.priority; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPriority.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPriority.cs.meta deleted file mode 100644 index 4bf1ba3e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetPriority.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: de856d580ad945e4d846fa52d3d647cc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetSpread.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetSpread.cs deleted file mode 100644 index a4b28d99..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetSpread.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Stores the spread value of the AudioSource. Returns Success.")] - public class GetSpread : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The spread value of the AudioSource")] - [RequiredField] - public SharedFloat storeValue; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - storeValue.Value = audioSource.spread; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetSpread.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetSpread.cs.meta deleted file mode 100644 index 8616ca5f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetSpread.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ba6a60eccf688514392e782348b84628 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTime.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTime.cs deleted file mode 100644 index 1838133a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTime.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Stores the time value of the AudioSource. Returns Success.")] - public class GetTime : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The time value of the AudioSource")] - [RequiredField] - public SharedFloat storeValue; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - storeValue.Value = audioSource.time; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTime.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTime.cs.meta deleted file mode 100644 index 3d1c547f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTime.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 600c95fc760afa140bd0a7b98bd5071f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTimeSamples.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTimeSamples.cs deleted file mode 100644 index 367f4b3f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTimeSamples.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Stores the time samples value of the AudioSource. Returns Success.")] - public class GetTimeSamples : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The time samples value of the AudioSource")] - [RequiredField] - public SharedFloat storeValue; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - storeValue.Value = audioSource.timeSamples; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTimeSamples.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTimeSamples.cs.meta deleted file mode 100644 index 40d3ea23..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetTimeSamples.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: af34adc5779f33442909ff32140dcdd4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetVolume.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetVolume.cs deleted file mode 100644 index 4610f4ba..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetVolume.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Stores the volume value of the AudioSource. Returns Success.")] - public class GetVolume : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The volume value of the AudioSource")] - [RequiredField] - public SharedFloat storeValue; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - storeValue.Value = audioSource.volume; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetVolume.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetVolume.cs.meta deleted file mode 100644 index fdb362b6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/GetVolume.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: aad3b2c644baeb646b0b33b7317413d4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/IsPlaying.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/IsPlaying.cs deleted file mode 100644 index 7b457902..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/IsPlaying.cs +++ /dev/null @@ -1,39 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Returns Success if the AudioClip is playing, otherwise Failure.")] - public class IsPlaying : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - return audioSource.isPlaying ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/IsPlaying.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/IsPlaying.cs.meta deleted file mode 100644 index e830c656..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/IsPlaying.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 20fb79d98326b794fb309a291613cab4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Pause.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Pause.cs deleted file mode 100644 index 1d5347ad..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Pause.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Pauses the audio clip. Returns Success.")] - public class Pause : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.Pause(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Pause.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Pause.cs.meta deleted file mode 100644 index 140e52a3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Pause.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 91db8dd58e79db745acc39f3f52da88e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Play.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Play.cs deleted file mode 100644 index 3e711027..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Play.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Plays the audio clip. Returns Success.")] - public class Play : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.Play(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Play.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Play.cs.meta deleted file mode 100644 index 52452b5a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Play.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7ac8cfb80c6a44c42b4ac4eef6f29bd5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayDelayed.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayDelayed.cs deleted file mode 100644 index 7618bd7c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayDelayed.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Plays the audio clip with a delay specified in seconds. Returns Success.")] - public class PlayDelayed : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Delay time specified in seconds")] - public SharedFloat delay = 0; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.PlayDelayed(delay.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - delay = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayDelayed.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayDelayed.cs.meta deleted file mode 100644 index fb881a38..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayDelayed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0125706a59bb7974eb3d425d3869779a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayOneShot.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayOneShot.cs deleted file mode 100644 index 1d04f8e0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayOneShot.cs +++ /dev/null @@ -1,47 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Plays an AudioClip, and scales the AudioSource volume by volumeScale. Returns Success.")] - public class PlayOneShot : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The clip being played")] - public SharedObject clip; - [Tooltip("The scale of the volume (0-1)")] - public SharedFloat volumeScale = 1; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.PlayOneShot((AudioClip)clip.Value, volumeScale.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - clip = null; - volumeScale = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayOneShot.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayOneShot.cs.meta deleted file mode 100644 index 4bc09ae8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayOneShot.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 112c969d16008464f96ce23aa5b32486 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayScheduled.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayScheduled.cs deleted file mode 100644 index d854790d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayScheduled.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Plays the audio clip with a delay specified in seconds. Returns Success.")] - public class PlayScheduled : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Time in seconds on the absolute time-line that AudioSettings.dspTime refers to for when the sound should start playing")] - public SharedFloat time = 0; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.PlayScheduled(time.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - time = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayScheduled.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayScheduled.cs.meta deleted file mode 100644 index 8c3e45f7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/PlayScheduled.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 08d431471ffd8954197b88b698f0d424 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetAudioClip.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetAudioClip.cs deleted file mode 100644 index 71941195..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetAudioClip.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the clip value of the AudioSource. Returns Success.")] - public class SetAudioClip : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The AudioSource clip")] - public AudioClip audioClip; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.clip = audioClip; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - audioClip = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetAudioClip.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetAudioClip.cs.meta deleted file mode 100644 index df8eac5c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetAudioClip.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f52d9d404f7deab448e4f5c2bb3f7892 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerPause.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerPause.cs deleted file mode 100644 index 1b0f14b3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerPause.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the ignore listener volume value of the AudioSource. Returns Success.")] - public class SetIgnoreListenerVolume : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The ignore listener volume value of the AudioSource")] - public SharedBool ignoreListenerVolume; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.ignoreListenerVolume = ignoreListenerVolume.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - ignoreListenerVolume = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerPause.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerPause.cs.meta deleted file mode 100644 index e6c2790c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerPause.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d617db8232463c444a8a3159da109798 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerVolume.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerVolume.cs deleted file mode 100644 index 787637b2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerVolume.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the ignore listener pause value of the AudioSource. Returns Success.")] - public class SetIgnoreListenerPause : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The ignore listener pause value of the AudioSource")] - public SharedBool ignoreListenerPause; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.ignoreListenerPause = ignoreListenerPause.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - ignoreListenerPause = false; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerVolume.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerVolume.cs.meta deleted file mode 100644 index 6b86a289..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetIgnoreListenerVolume.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6f1f5937bfa03484296c0fb5a9ce9b29 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetLoop.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetLoop.cs deleted file mode 100644 index 38a47ba3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetLoop.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the loop value of the AudioSource. Returns Success.")] - public class SetLoop : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The loop value of the AudioSource")] - public SharedBool loop; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.loop = loop.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - loop = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetLoop.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetLoop.cs.meta deleted file mode 100644 index d8e3cc04..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetLoop.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 50536bd6b5fa6924bb7217dd3b6e3f45 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMaxDistance.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMaxDistance.cs deleted file mode 100644 index 17487708..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMaxDistance.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the max distance value of the AudioSource. Returns Success.")] - public class SetMaxDistance : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The max distance value of the AudioSource")] - public SharedFloat maxDistance; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.maxDistance = maxDistance.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - maxDistance = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMaxDistance.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMaxDistance.cs.meta deleted file mode 100644 index 2d67b172..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMaxDistance.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b0c75cf2afc289c4a8962f71b5e17dd1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMinDistance.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMinDistance.cs deleted file mode 100644 index f693e4a8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMinDistance.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the min distance value of the AudioSource. Returns Success.")] - public class SetMinDistance : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The min distance value of the AudioSource")] - public SharedFloat minDistance; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.minDistance = minDistance.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - minDistance = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMinDistance.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMinDistance.cs.meta deleted file mode 100644 index 6e87631a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMinDistance.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ccb3beba9296fc54d8427cd646af4f4e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMute.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMute.cs deleted file mode 100644 index 0d45e2df..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMute.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the mute value of the AudioSource. Returns Success.")] - public class SetMute : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The mute value of the AudioSource")] - public SharedBool mute; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.mute = mute.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - mute = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMute.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMute.cs.meta deleted file mode 100644 index 7296e828..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetMute.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ec553c7ad9360a24fb7ce3bf3bc48c97 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPan.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPan.cs deleted file mode 100644 index bd6d1853..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPan.cs +++ /dev/null @@ -1,46 +0,0 @@ -#if UNITY_4_6 || UNITY_4_7 -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the pan value of the AudioSource. Returns Success.")] - public class SetPan : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The pan value of the AudioSource")] - public SharedFloat pan; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.pan = pan.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - pan = 1; - } - } -} -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPan.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPan.cs.meta deleted file mode 100644 index 5ee56ec2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPan.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ed66670f171cea24c9208fff10bfc43d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPanLevel.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPanLevel.cs deleted file mode 100644 index b1f24307..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPanLevel.cs +++ /dev/null @@ -1,46 +0,0 @@ -#if UNITY_4_6 || UNITY_4_7 -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the pan level value of the AudioSource. Returns Success.")] - public class SetPanLevel : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The pan level value of the AudioSource")] - public SharedFloat panLevel; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.panLevel = panLevel.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - panLevel = 1; - } - } -} -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPanLevel.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPanLevel.cs.meta deleted file mode 100644 index ca4e90f7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPanLevel.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 219609a4a0818d746a7828dc968c31a9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPitch.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPitch.cs deleted file mode 100644 index 9a6de27f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPitch.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the pitch value of the AudioSource. Returns Success.")] - public class SetPitch : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The pitch value of the AudioSource")] - public SharedFloat pitch; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.pitch = pitch.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - pitch = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPitch.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPitch.cs.meta deleted file mode 100644 index 71a8ff21..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPitch.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3c7615ddc4e92fd41b72de06f039f9e1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPriority.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPriority.cs deleted file mode 100644 index 1a1532ea..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPriority.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the priority value of the AudioSource. Returns Success.")] - public class SetPriority : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The priority value of the AudioSource")] - public SharedInt priority; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.priority = priority.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - priority = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPriority.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPriority.cs.meta deleted file mode 100644 index 0a8e4128..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetPriority.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4fc15622e17101f4b95be39910433c8a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetRolloffMode.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetRolloffMode.cs deleted file mode 100644 index 0b142108..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetRolloffMode.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the rolloff mode of the AudioSource. Returns Success.")] - public class SetRolloffMode : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The rolloff mode of the AudioSource")] - public AudioRolloffMode rolloffMode; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.rolloffMode = rolloffMode; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - rolloffMode = AudioRolloffMode.Logarithmic; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetRolloffMode.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetRolloffMode.cs.meta deleted file mode 100644 index 0d7fe458..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetRolloffMode.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ef88d71b5b7e0a84d98bde6405eb294d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledEndTime.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledEndTime.cs deleted file mode 100644 index b214f713..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledEndTime.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Changes the time at which a sound that has already been scheduled to play will end. Notice that depending on the " + - "timing not all rescheduling requests can be fulfilled. Returns Success.")] - public class SetScheduledEndTime : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Time in seconds")] - public SharedFloat time = 0; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.SetScheduledEndTime(time.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - time = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledEndTime.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledEndTime.cs.meta deleted file mode 100644 index 3f0af6c4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledEndTime.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8867d64aa9a2add4f913b8b5faa9d1ce -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledStartTime.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledStartTime.cs deleted file mode 100644 index 4c5b890c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledStartTime.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Changes the time at which a sound that has already been scheduled to play will start. Returns Success.")] - public class SetScheduledStartTime : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Time in seconds")] - public SharedFloat time = 0; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.SetScheduledStartTime(time.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - time = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledStartTime.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledStartTime.cs.meta deleted file mode 100644 index 4dbd7c6a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetScheduledStartTime.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cf64b74120564064a8d9c622ccc7115a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetSpread.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetSpread.cs deleted file mode 100644 index f4657fcd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetSpread.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the spread value of the AudioSource. Returns Success.")] - public class SetSpread : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The spread value of the AudioSource")] - public SharedFloat spread; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.spread = spread.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - spread = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetSpread.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetSpread.cs.meta deleted file mode 100644 index 89329407..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetSpread.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f6d964d5fdf24bf449d3f59de1864dd8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetTime.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetTime.cs deleted file mode 100644 index 637789e8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetTime.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the time value of the AudioSource. Returns Success.")] - public class SetTime : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The time value of the AudioSource")] - public SharedFloat time; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.time = time.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - time = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetTime.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetTime.cs.meta deleted file mode 100644 index bc128b7a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetTime.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3173ce3fda9d60f48b159759f8981f89 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVelocityUpdateMode.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVelocityUpdateMode.cs deleted file mode 100644 index 53dddaa0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVelocityUpdateMode.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the rolloff mode of the AudioSource. Returns Success.")] - public class SetVelocityUpdateMode : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The velocity update mode of the AudioSource")] - public AudioVelocityUpdateMode velocityUpdateMode; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.velocityUpdateMode = velocityUpdateMode; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - velocityUpdateMode = AudioVelocityUpdateMode.Auto; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVelocityUpdateMode.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVelocityUpdateMode.cs.meta deleted file mode 100644 index 606e6903..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVelocityUpdateMode.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c26ea6b22d3fa7843a73e5088376996c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVolume.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVolume.cs deleted file mode 100644 index 80ee7189..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVolume.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Sets the volume value of the AudioSource. Returns Success.")] - public class SetVolume : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The volume value of the AudioSource")] - public SharedFloat volume; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.volume = volume.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - volume = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVolume.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVolume.cs.meta deleted file mode 100644 index 16176d79..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/SetVolume.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: edfc39045c7af164fb340d21762e4d79 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Stop.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Stop.cs deleted file mode 100644 index f351635c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Stop.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource -{ - [TaskCategory("Basic/AudioSource")] - [TaskDescription("Stops playing the audio clip. Returns Success.")] - public class Stop : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private AudioSource audioSource; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - audioSource = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (audioSource == null) { - Debug.LogWarning("AudioSource is null"); - return TaskStatus.Failure; - } - - audioSource.Stop(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Stop.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Stop.cs.meta deleted file mode 100644 index 66ee21a5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/AudioSource/Stop.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bd4cec1e9e81e664d8e7782bd02bcade -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour.meta deleted file mode 100644 index 1a17548b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 51de5dc2234f2d642b8b53dd9ccc9be3 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/GetIsEnabled.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/GetIsEnabled.cs deleted file mode 100644 index c34c4133..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/GetIsEnabled.cs +++ /dev/null @@ -1,35 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityBehaviour -{ - [TaskCategory("Basic/Behaviour")] - [TaskDescription("Stores the enabled state of the object. Returns Success.")] - public class GetIsEnabled : Action - { - [Tooltip("The Object to use")] - public SharedObject specifiedObject; - [Tooltip("The enabled/disabled state")] - [RequiredField] - public SharedBool storeValue; - - public override TaskStatus OnUpdate() - { - if (specifiedObject == null && !(specifiedObject.Value is UnityEngine.Behaviour)) { - Debug.LogWarning("SpecifiedObject is null or not a subclass of UnityEngine.Behaviour"); - return TaskStatus.Failure; - } - - storeValue.Value = (specifiedObject.Value as Behaviour).enabled; - - return TaskStatus.Success; - } - - public override void OnReset() - { - if (specifiedObject != null) { - specifiedObject.Value = null; - } - storeValue = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/GetIsEnabled.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/GetIsEnabled.cs.meta deleted file mode 100644 index 55e67554..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/GetIsEnabled.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ad6519dede06d7b46b95e54bb60be281 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/IsEnabled.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/IsEnabled.cs deleted file mode 100644 index 78fb031f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/IsEnabled.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityBehaviour -{ - [TaskCategory("Basic/Behaviour")] - [TaskDescription("Returns Success if the object is enabled, otherwise Failure.")] - public class IsEnabled : Conditional - { - [Tooltip("The Object to use")] - public SharedObject specifiedObject; - - public override TaskStatus OnUpdate() - { - if (specifiedObject == null && !(specifiedObject.Value is UnityEngine.Behaviour)) { - Debug.LogWarning("SpecifiedObject is null or not a subclass of UnityEngine.Behaviour"); - return TaskStatus.Failure; - } - - return (specifiedObject.Value as Behaviour).enabled ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - if (specifiedObject != null) { - specifiedObject.Value = null; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/IsEnabled.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/IsEnabled.cs.meta deleted file mode 100644 index f66d6058..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/IsEnabled.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 32f61cbdb8bdf1e44bf418ca21681bc3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/SetIsEnabled.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/SetIsEnabled.cs deleted file mode 100644 index 535355fd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/SetIsEnabled.cs +++ /dev/null @@ -1,34 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityBehaviour -{ - [TaskCategory("Basic/Behaviour")] - [TaskDescription("Enables/Disables the object. Returns Success.")] - public class SetIsEnabled : Action - { - [Tooltip("The Object to use")] - public SharedObject specifiedObject; - [Tooltip("The enabled/disabled state")] - public SharedBool enabled; - - public override TaskStatus OnUpdate() - { - if (specifiedObject == null && !(specifiedObject.Value is UnityEngine.Behaviour)) { - Debug.LogWarning("SpecifiedObject is null or not a subclass of UnityEngine.Behaviour"); - return TaskStatus.Failure; - } - - (specifiedObject.Value as Behaviour).enabled = enabled.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - if (specifiedObject != null) { - specifiedObject.Value = null; - } - enabled = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/SetIsEnabled.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/SetIsEnabled.cs.meta deleted file mode 100644 index 623d440c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Behaviour/SetIsEnabled.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cf7703ff7e9055e4f811a5b95bf18930 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider.meta deleted file mode 100644 index 46645ecf..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 876af1fbcf3642e4b987507ed975a15a -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetCenter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetCenter.cs deleted file mode 100644 index 83bf9367..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetCenter.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityBoxCollider -{ - [TaskCategory("Basic/BoxCollider")] - [TaskDescription("Stores the center of the BoxCollider. Returns Success.")] - public class GetCenter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The center of the BoxCollider")] - [RequiredField] - public SharedVector3 storeValue; - - private BoxCollider boxCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - boxCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (boxCollider == null) { - Debug.LogWarning("BoxCollider is null"); - return TaskStatus.Failure; - } - - storeValue.Value = boxCollider.center; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetCenter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetCenter.cs.meta deleted file mode 100644 index 61b2c34f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetCenter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9c3ae13d2bd0e5f4186835c672d9461f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetSize.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetSize.cs deleted file mode 100644 index d358a83b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetSize.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityBoxCollider -{ - [TaskCategory("Basic/BoxCollider")] - [TaskDescription("Stores the size of the BoxCollider. Returns Success.")] - public class GetSize : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The size of the BoxCollider")] - [RequiredField] - public SharedVector3 storeValue; - - private BoxCollider boxCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - boxCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (boxCollider == null) { - Debug.LogWarning("BoxCollider is null"); - return TaskStatus.Failure; - } - - storeValue.Value = boxCollider.size; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetSize.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetSize.cs.meta deleted file mode 100644 index 934ee86c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/GetSize.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0afec21454700d3479c4f9767f9382f9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetCenter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetCenter.cs deleted file mode 100644 index e24eec2a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetCenter.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityBoxCollider -{ - [TaskCategory("Basic/BoxCollider")] - [TaskDescription("Sets the center of the BoxCollider. Returns Success.")] - public class SetCenter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The center of the BoxCollider")] - public SharedVector3 center; - - private BoxCollider boxCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - boxCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (boxCollider == null) { - Debug.LogWarning("BoxCollider is null"); - return TaskStatus.Failure; - } - - boxCollider.center = center.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - center = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetCenter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetCenter.cs.meta deleted file mode 100644 index 9787d48f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetCenter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 45b3b4dc79247bd46a9c2b11fa9b125c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetSize.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetSize.cs deleted file mode 100644 index 1ee03fa2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetSize.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityBoxCollider -{ - [TaskCategory("Basic/BoxCollider")] - [TaskDescription("Sets the size of the BoxCollider. Returns Success.")] - public class SetSize : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The size of the BoxCollider")] - public SharedVector3 size; - - private BoxCollider boxCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - boxCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (boxCollider == null) { - Debug.LogWarning("BoxCollider is null"); - return TaskStatus.Failure; - } - - boxCollider.size = size.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - size = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetSize.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetSize.cs.meta deleted file mode 100644 index e00c7d4a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider/SetSize.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d899b6ed83f6e264f8e5867cf68c0cda -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D.meta deleted file mode 100644 index 0ad45570..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: c7814e7f18119144182f77f9b2a01af2 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/GetSize.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/GetSize.cs deleted file mode 100644 index e539eb30..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/GetSize.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityBoxCollider2D -{ - [TaskCategory("Basic/BoxCollider2D")] - [TaskDescription("Stores the size of the BoxCollider2D. Returns Success.")] - public class GetSize : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The size of the BoxCollider2D")] - [RequiredField] - public SharedVector2 storeValue; - - private BoxCollider2D boxCollider2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - boxCollider2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (boxCollider2D == null) { - Debug.LogWarning("BoxCollider2D is null"); - return TaskStatus.Failure; - } - - storeValue.Value = boxCollider2D.size; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector2.zero; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/GetSize.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/GetSize.cs.meta deleted file mode 100644 index 362df45f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/GetSize.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c69113b787759f340aacbb9d99a6d654 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/SetSize.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/SetSize.cs deleted file mode 100644 index 5de4a500..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/SetSize.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityBoxCollider2D -{ - [TaskCategory("Basic/BoxCollider2D")] - [TaskDescription("Sets the size of the BoxCollider2D. Returns Success.")] - public class SetSize : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The size of the BoxCollider2D")] - public SharedVector2 size; - - private BoxCollider2D boxCollider2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - boxCollider2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (boxCollider2D == null) { - Debug.LogWarning("BoxCollider2D is null"); - return TaskStatus.Failure; - } - - boxCollider2D.size = size.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - size = Vector2.zero; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/SetSize.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/SetSize.cs.meta deleted file mode 100644 index f5af4e82..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/BoxCollider2D/SetSize.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1875fd00045d98848b028015a17aeeaf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider.meta deleted file mode 100644 index 0b7a7297..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 0cf43865b0892fb48ac285f63910ff97 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetCenter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetCenter.cs deleted file mode 100644 index 05e4c8e4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetCenter.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCapsuleCollider -{ - [TaskCategory("Basic/CapsuleCollider")] - [TaskDescription("Stores the center of the CapsuleCollider. Returns Success.")] - public class GetCenter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The center of the CapsuleCollider")] - [RequiredField] - public SharedVector3 storeValue; - - private CapsuleCollider capsuleCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - capsuleCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (capsuleCollider == null) { - Debug.LogWarning("CapsuleCollider is null"); - return TaskStatus.Failure; - } - - storeValue.Value = capsuleCollider.center; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetCenter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetCenter.cs.meta deleted file mode 100644 index 3256d554..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetCenter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3a032cb4c0b97b844ad53ad7bb2617c3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetDirection.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetDirection.cs deleted file mode 100644 index 56f394b9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetDirection.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCapsuleCollider -{ - [TaskCategory("Basic/CapsuleCollider")] - [TaskDescription("Stores the direction of the CapsuleCollider. Returns Success.")] - public class GetDirection : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The direction of the CapsuleCollider")] - [RequiredField] - public SharedInt storeValue; - - private CapsuleCollider capsuleCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - capsuleCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (capsuleCollider == null) { - Debug.LogWarning("CapsuleCollider is null"); - return TaskStatus.Failure; - } - - storeValue.Value = capsuleCollider.direction; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetDirection.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetDirection.cs.meta deleted file mode 100644 index 3e32e995..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetDirection.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7e9f2ebb599281345a458fab17aab5fd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetHeight.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetHeight.cs deleted file mode 100644 index 98c38d5e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetHeight.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCapsuleCollider -{ - [TaskCategory("Basic/CapsuleCollider")] - [TaskDescription("Gets the height of the CapsuleCollider. Returns Success.")] - public class GetHeight : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The height of the CapsuleCollider")] - [RequiredField] - public SharedFloat storeValue; - - private CapsuleCollider capsuleCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - capsuleCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (capsuleCollider == null) { - Debug.LogWarning("CapsuleCollider is null"); - return TaskStatus.Failure; - } - - storeValue.Value = capsuleCollider.height; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetHeight.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetHeight.cs.meta deleted file mode 100644 index 8f56770b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetHeight.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 29e860749600e174aa61dd42be0a3126 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetRadius.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetRadius.cs deleted file mode 100644 index b1df3bc9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetRadius.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCapsuleCollider -{ - [TaskCategory("Basic/CapsuleCollider")] - [TaskDescription("Stores the radius of the CapsuleCollider. Returns Success.")] - public class GetRadius : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The radius of the CapsuleCollider")] - [RequiredField] - public SharedFloat storeValue; - - private CapsuleCollider capsuleCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - capsuleCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (capsuleCollider == null) { - Debug.LogWarning("CapsuleCollider is null"); - return TaskStatus.Failure; - } - - storeValue.Value = capsuleCollider.radius; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetRadius.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetRadius.cs.meta deleted file mode 100644 index 006177a6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/GetRadius.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d03b50a6f076c75408ef6e843bd75539 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetCenter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetCenter.cs deleted file mode 100644 index c72abb9b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetCenter.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCapsuleCollider -{ - [TaskCategory("Basic/CapsuleCollider")] - [TaskDescription("Sets the center of the CapsuleCollider. Returns Success.")] - public class SetCenter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The center of the CapsuleCollider")] - public SharedVector3 center; - - private CapsuleCollider capsuleCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - capsuleCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (capsuleCollider == null) { - Debug.LogWarning("CapsuleCollider is null"); - return TaskStatus.Failure; - } - - capsuleCollider.center = center.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - center = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetCenter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetCenter.cs.meta deleted file mode 100644 index 8b888bdd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetCenter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f8292285661aa7e4086c0b59926632c3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetDirection.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetDirection.cs deleted file mode 100644 index e07ee642..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetDirection.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCapsuleCollider -{ - [TaskCategory("Basic/CapsuleCollider")] - [TaskDescription("Sets the direction of the CapsuleCollider. Returns Success.")] - public class SetDirection : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The direction of the CapsuleCollider")] - public SharedInt direction; - - private CapsuleCollider capsuleCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - capsuleCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (capsuleCollider == null) { - Debug.LogWarning("CapsuleCollider is null"); - return TaskStatus.Failure; - } - - capsuleCollider.direction = direction.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - direction = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetDirection.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetDirection.cs.meta deleted file mode 100644 index 15fea291..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetDirection.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4146b45b3a598294f86dbbac03e6e8cb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetHeight.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetHeight.cs deleted file mode 100644 index 2f734d5d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetHeight.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCapsuleCollider -{ - [TaskCategory("Basic/CapsuleCollider")] - [TaskDescription("Sets the height of the CapsuleCollider. Returns Success.")] - public class SetHeight : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The height of the CapsuleCollider")] - public SharedFloat direction; - - private CapsuleCollider capsuleCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - capsuleCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (capsuleCollider == null) { - Debug.LogWarning("CapsuleCollider is null"); - return TaskStatus.Failure; - } - - capsuleCollider.height = direction.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - direction = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetHeight.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetHeight.cs.meta deleted file mode 100644 index 60d24f8f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetHeight.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 34f947c079c1159488c80854ee53ecd8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetRadius.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetRadius.cs deleted file mode 100644 index 963dfe47..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetRadius.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCapsuleCollider -{ - [TaskCategory("Basic/CapsuleCollider")] - [TaskDescription("Sets the radius of the CapsuleCollider. Returns Success.")] - public class SetRadius : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The radius of the CapsuleCollider")] - public SharedFloat radius; - - private CapsuleCollider capsuleCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - capsuleCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (capsuleCollider == null) { - Debug.LogWarning("CapsuleCollider is null"); - return TaskStatus.Failure; - } - - capsuleCollider.radius = radius.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - radius = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetRadius.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetRadius.cs.meta deleted file mode 100644 index ae2e46ca..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CapsuleCollider/SetRadius.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fed5a0f5604af324cb2e4a3ed9315793 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController.meta deleted file mode 100644 index 6034f256..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 4b58bcba0c40cfc448a1f2a5f2a57c57 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetCenter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetCenter.cs deleted file mode 100644 index a05eb82a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetCenter.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Stores the center of the CharacterController. Returns Success.")] - public class GetCenter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The center of the CharacterController")] - [RequiredField] - public SharedVector3 storeValue; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - - storeValue.Value = characterController.center; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetCenter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetCenter.cs.meta deleted file mode 100644 index d0c9a496..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetCenter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e4033e3d9c7ef994ba600b3afec28a0d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetHeight.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetHeight.cs deleted file mode 100644 index 1317129e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetHeight.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Stores the height of the CharacterController. Returns Success.")] - public class GetHeight : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The height of the CharacterController")] - [RequiredField] - public SharedFloat storeValue; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - storeValue.Value = characterController.height; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetHeight.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetHeight.cs.meta deleted file mode 100644 index d1dd43b3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetHeight.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: eec31e6d5685c674fa2952757b4adf9a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetRadius.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetRadius.cs deleted file mode 100644 index 67c3d1ff..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetRadius.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Stores the radius of the CharacterController. Returns Success.")] - public class GetRadius : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The radius of the CharacterController")] - [RequiredField] - public SharedFloat storeValue; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - - storeValue.Value = characterController.radius; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetRadius.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetRadius.cs.meta deleted file mode 100644 index 81e97192..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetRadius.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3bf330244cdea3b43ad95e8731fdb78b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetSlopeLimit.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetSlopeLimit.cs deleted file mode 100644 index cb33ff2a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetSlopeLimit.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Stores the slope limit of the CharacterController. Returns Success.")] - public class GetSlopeLimit : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The slope limit of the CharacterController")] - [RequiredField] - public SharedFloat storeValue; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - - storeValue.Value = characterController.slopeLimit; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetSlopeLimit.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetSlopeLimit.cs.meta deleted file mode 100644 index c6bf9789..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetSlopeLimit.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3cb445c34dce1a14aa5134278025ec59 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetStepOffset.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetStepOffset.cs deleted file mode 100644 index f4d14456..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetStepOffset.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Stores the step offset of the CharacterController. Returns Success.")] - public class GetStepOffset : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The step offset of the CharacterController")] - [RequiredField] - public SharedFloat storeValue; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - - storeValue.Value = characterController.stepOffset; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetStepOffset.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetStepOffset.cs.meta deleted file mode 100644 index 17385174..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetStepOffset.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d9bb8d4be247f4d4cb9b2b05a6efd48f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetVelocity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetVelocity.cs deleted file mode 100644 index 2c4ee10a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetVelocity.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Stores the velocity of the CharacterController. Returns Success.")] - public class GetVelocity : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The velocity of the CharacterController")] - [RequiredField] - public SharedVector3 storeValue; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - - storeValue.Value = characterController.velocity; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetVelocity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetVelocity.cs.meta deleted file mode 100644 index 23ec32d3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/GetVelocity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 783c920567425bd4c9385eeaf8099ea4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/HasColliderHit.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/HasColliderHit.cs deleted file mode 100644 index a1688d5f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/HasColliderHit.cs +++ /dev/null @@ -1,43 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Returns Success if the collider hit another object, otherwise Failure.")] - public class HasColliderHit : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The tag of the GameObject to check for a collision against")] - public SharedString tag = ""; - [Tooltip("The object that started the collision")] - public SharedGameObject collidedGameObject; - - private bool enteredCollision = false; - - public override TaskStatus OnUpdate() - { - return enteredCollision ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnEnd() - { - enteredCollision = false; - } - - public override void OnControllerColliderHit(ControllerColliderHit hit) - { - if (string.IsNullOrEmpty(tag.Value) || tag.Value.Equals(hit.gameObject.tag)) { - collidedGameObject.Value = hit.gameObject; - enteredCollision = true; - } - } - - public override void OnReset() - { - targetGameObject = null; - tag = ""; - collidedGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/HasColliderHit.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/HasColliderHit.cs.meta deleted file mode 100644 index 947de51c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/HasColliderHit.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9ff7c43d9df5279489455a4ce2eb3b20 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/IsGrounded.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/IsGrounded.cs deleted file mode 100644 index 4d480765..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/IsGrounded.cs +++ /dev/null @@ -1,39 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Returns Success if the character is grounded, otherwise Failure.")] - public class IsGrounded : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - - return characterController.isGrounded ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/IsGrounded.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/IsGrounded.cs.meta deleted file mode 100644 index 536c1fa8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/IsGrounded.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e8541a996b0a37b4f8bce82dd23ddb84 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/Move.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/Move.cs deleted file mode 100644 index de40f1d2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/Move.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("A more complex move function taking absolute movement deltas. Returns Success.")] - public class Move : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The amount to move")] - public SharedVector3 motion; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - - characterController.Move(motion.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - motion = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/Move.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/Move.cs.meta deleted file mode 100644 index 00e7570e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/Move.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 546770f14f8265d4c83b94210630b644 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetCenter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetCenter.cs deleted file mode 100644 index c3aaac90..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetCenter.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Sets the center of the CharacterController. Returns Success.")] - public class SetCenter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The center of the CharacterController")] - public SharedVector3 center; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - - characterController.center = center.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - center = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetCenter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetCenter.cs.meta deleted file mode 100644 index 90d1e1c9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetCenter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1072c5d1f7d15b24d811ee2e52f5806f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetHeight.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetHeight.cs deleted file mode 100644 index 7ad8e61c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetHeight.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Sets the height of the CharacterController. Returns Success.")] - public class SetHeight : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The height of the CharacterController")] - public SharedFloat height; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - - characterController.height = height.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - height = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetHeight.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetHeight.cs.meta deleted file mode 100644 index d42f0e0b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetHeight.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f3646fc892390f443ab43e4313cd0c6a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetRadius.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetRadius.cs deleted file mode 100644 index 53327f7d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetRadius.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Sets the radius of the CharacterController. Returns Success.")] - public class SetRadius : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The radius of the CharacterController")] - public SharedFloat radius; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - - characterController.radius = radius.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - radius = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetRadius.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetRadius.cs.meta deleted file mode 100644 index 8db23e47..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetRadius.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d3d7c584aef3bd5468165685a1975862 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetSlopeLimit.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetSlopeLimit.cs deleted file mode 100644 index ac860c57..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetSlopeLimit.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Sets the slope limit of the CharacterController. Returns Success.")] - public class SetSlopeLimit : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The slope limit of the CharacterController")] - public SharedFloat slopeLimit; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - - characterController.slopeLimit = slopeLimit.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - slopeLimit = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetSlopeLimit.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetSlopeLimit.cs.meta deleted file mode 100644 index aca63d5a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetSlopeLimit.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 65d4ccec4c868584a89d9037a6eec3e6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetStepOffset.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetStepOffset.cs deleted file mode 100644 index d646276d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetStepOffset.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Sets the step offset of the CharacterController. Returns Success.")] - public class SetStepOffset : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The step offset of the CharacterController")] - public SharedFloat stepOffset; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - - characterController.stepOffset = stepOffset.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - stepOffset = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetStepOffset.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetStepOffset.cs.meta deleted file mode 100644 index 5512e7e7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetStepOffset.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b062e83de9feb8a41a9e4989f2d65b97 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SimpleMove.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SimpleMove.cs deleted file mode 100644 index 7b999324..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SimpleMove.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController -{ - [TaskCategory("Basic/CharacterController")] - [TaskDescription("Moves the character with speed. Returns Success.")] - public class SimpleMove : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The speed of the movement")] - public SharedVector3 speed; - - private CharacterController characterController; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - characterController = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (characterController == null) { - Debug.LogWarning("CharacterController is null"); - return TaskStatus.Failure; - } - - characterController.SimpleMove(speed.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - speed = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SimpleMove.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SimpleMove.cs.meta deleted file mode 100644 index f3a41a05..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CharacterController/SimpleMove.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c760a29b8a35c044d87b7a80a58f046c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D.meta deleted file mode 100644 index 88b51cd1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: e179f1af407aa8b469c6d96d7c0e2563 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetCenter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetCenter.cs deleted file mode 100644 index 0dd214d3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetCenter.cs +++ /dev/null @@ -1,47 +0,0 @@ -#if UNITY_4_6 || UNITY_4_7 -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCircleCollider2D -{ - [TaskCategory("Basic/CircleCollider2D")] - [TaskDescription("Stores the center of the CircleCollider2D. Returns Success.")] - public class GetCenter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The center of the CircleCollider2D")] - [RequiredField] - public SharedVector2 storeValue; - - private CircleCollider2D circleCollider2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - circleCollider2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (circleCollider2D == null) { - Debug.LogWarning("CircleCollider2D is null"); - return TaskStatus.Failure; - } - - storeValue.Value = circleCollider2D.center; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector2.zero; - } - } -} -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetCenter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetCenter.cs.meta deleted file mode 100644 index 3224c185..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetCenter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f0b09bbd9fd4fbc44ba06b19dbb4cdd7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetRadius.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetRadius.cs deleted file mode 100644 index a0940ef5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetRadius.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCircleCollider2D -{ - [TaskCategory("Basic/CircleCollider2D")] - [TaskDescription("Stores the radius of the CircleCollider2D. Returns Success.")] - public class GetRadius : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The radius of the CircleCollider2D")] - [RequiredField] - public SharedFloat storeValue; - - private CircleCollider2D circleCollider2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - circleCollider2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (circleCollider2D == null) { - Debug.LogWarning("CircleCollider2D is null"); - return TaskStatus.Failure; - } - - storeValue.Value = circleCollider2D.radius; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetRadius.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetRadius.cs.meta deleted file mode 100644 index 17b98088..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/GetRadius.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5301adcc69414e44681c1d4dc7ecde58 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetCenter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetCenter.cs deleted file mode 100644 index 41d5101c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetCenter.cs +++ /dev/null @@ -1,46 +0,0 @@ -#if UNITY_4_6 || UNITY_4_7 -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCircleCollider2D -{ - [TaskCategory("Basic/CircleCollider2D")] - [TaskDescription("Sets the center of the CircleCollider2D. Returns Success.")] - public class SetCenter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The center of the CircleCollider2D")] - public SharedVector2 center; - - private CircleCollider2D circleCollider2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - circleCollider2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (circleCollider2D == null) { - Debug.LogWarning("CircleCollider2D is null"); - return TaskStatus.Failure; - } - - circleCollider2D.center = center.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - center = Vector2.zero; - } - } -} -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetCenter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetCenter.cs.meta deleted file mode 100644 index 9d3181d3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetCenter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 476937be0338dbf4c80b2a74a5d3ed8c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetRadius.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetRadius.cs deleted file mode 100644 index 44b51f3c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetRadius.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCircleCollider2D -{ - [TaskCategory("Basic/CircleCollider2D")] - [TaskDescription("Sets the radius of the CircleCollider2D. Returns Success.")] - public class SetRadius : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The radius of the CircleCollider2D")] - public SharedFloat radius; - - private CircleCollider2D circleCollider2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - circleCollider2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (circleCollider2D == null) { - Debug.LogWarning("CircleCollider2D is null"); - return TaskStatus.Failure; - } - - circleCollider2D.radius = radius.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - radius = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetRadius.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetRadius.cs.meta deleted file mode 100644 index 51ed0fe3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/CircleCollider2D/SetRadius.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a9f837093c996864d95d92cae654a8ba -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug.meta deleted file mode 100644 index f991fb9b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: d1140cef910ebcb4fa9817c4ec7fe2df -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawLine.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawLine.cs deleted file mode 100644 index c4bc3464..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawLine.cs +++ /dev/null @@ -1,36 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityDebug -{ - [TaskCategory("Basic/Debug")] - [TaskDescription("Draws a debug line")] - public class DrawLine : Action - { - [Tooltip("The start position")] - public SharedVector3 start; - [Tooltip("The end position")] - public SharedVector3 end; - [Tooltip("The color")] - public SharedColor color = Color.white; - [Tooltip("Duration the line will be visible for in seconds.\nDefault: 0 means 1 frame.")] - public SharedFloat duration; - [Tooltip("Whether the line should show through world geometry.")] - public SharedBool depthTest = true; - - public override TaskStatus OnUpdate() - { - Debug.DrawLine(start.Value, end.Value, color.Value, duration.Value, depthTest.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - start = Vector3.zero; - end = Vector3.zero; - color = Color.white; - duration = 0f; - depthTest = true; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawLine.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawLine.cs.meta deleted file mode 100644 index 224373d4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawLine.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 66a533f4f027ab44bb35e498d761ce50 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs deleted file mode 100644 index 81aa823f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs +++ /dev/null @@ -1,30 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityDebug -{ - [TaskCategory("Basic/Debug")] - [TaskDescription("Draws a debug ray")] - public class DrawRay : Action - { - [Tooltip("The position")] - public SharedVector3 start; - [Tooltip("The direction")] - public SharedVector3 direction; - [Tooltip("The color")] - public SharedColor color = Color.white; - - public override TaskStatus OnUpdate() - { - Debug.DrawRay(start.Value, direction.Value, color.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - start = Vector3.zero; - direction = Vector3.zero; - color = Color.white; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs.meta deleted file mode 100644 index 8490bb34..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/DrawRay.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 786ac0c09ce982e43b444670fdfe4c74 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogFormat.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogFormat.cs deleted file mode 100644 index 00f96bba..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogFormat.cs +++ /dev/null @@ -1,76 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityDebug -{ - [TaskDescription("LogFormat is analgous to Debug.LogFormat().\n" + - "It takes format string, substitutes arguments supplied a '{0-4}' and returns success.\n" + - "Any fields or arguments not supplied are ignored." + - "It can be used for debugging.")] - [TaskIcon("{SkinColor}LogIcon.png")] - public class LogFormat : Action - { - [Tooltip("Text format with {0}, {1}, etc")] - public SharedString textFormat; - - [Tooltip("Is this text an error?")] - public SharedBool logError; - - public SharedVariable arg0; - public SharedVariable arg1; - public SharedVariable arg2; - public SharedVariable arg3; - - public override TaskStatus OnUpdate() - { - var paramsArray = buildParamsArray(); - // Log the text and return success - if (logError.Value) { - Debug.LogErrorFormat(textFormat.Value, paramsArray); - } else { - Debug.LogFormat(textFormat.Value, paramsArray); - } - return TaskStatus.Success; - } - - private object[] buildParamsArray() { - object[] paramsArray; - if (isValid(arg3)) { - paramsArray = new object[4]; - paramsArray[3] = arg3.GetValue(); - paramsArray[2] = arg2.GetValue(); - paramsArray[1] = arg1.GetValue(); - paramsArray[0] = arg0.GetValue(); - } else if (isValid(arg2)) { - paramsArray = new object[3]; - paramsArray[2] = arg2.GetValue(); - paramsArray[1] = arg1.GetValue(); - paramsArray[0] = arg0.GetValue(); - } else if (isValid(arg1)) { - paramsArray = new object[2]; - paramsArray[1] = arg1.GetValue(); - paramsArray[0] = arg0.GetValue(); - } else if (isValid(arg0)) { - paramsArray = new object[1]; - paramsArray[0] = arg0.GetValue(); - } else { - return null; - } - return paramsArray; - } - - private bool isValid(SharedVariable sv) { - return null != sv && !sv.IsNone; - } - - public override void OnReset() - { - // Reset the properties back to their original values - textFormat = string.Empty; - logError = false; - arg0 = null; - arg1 = null; - arg2 = null; - arg3 = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogFormat.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogFormat.cs.meta deleted file mode 100644 index 65c27cda..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogFormat.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 70765819b419e8a45b326e92edf17ef5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogValue.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogValue.cs deleted file mode 100644 index 73605da8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogValue.cs +++ /dev/null @@ -1,24 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityDebug -{ - [TaskCategory("Basic/Debug")] - [TaskDescription("Log a variable value.")] - public class LogValue : Action - { - [Tooltip("The variable to output")] - public SharedGenericVariable variable; - - public override TaskStatus OnUpdate() - { - Debug.Log(variable.Value.value.GetValue()); - - return TaskStatus.Success; - } - - public override void OnReset() - { - variable = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogValue.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogValue.cs.meta deleted file mode 100644 index 03ab4247..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Debug/LogValue.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c50983a88995f4f4197f7b39ca796667 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject.meta deleted file mode 100644 index 83094ffa..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: c03de85966f0a834383cef512841e4a9 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveInHierarchy.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveInHierarchy.cs deleted file mode 100644 index e1beca39..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveInHierarchy.cs +++ /dev/null @@ -1,22 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Returns Success if the GameObject is active in the hierarchy, otherwise Failure.")] - public class ActiveInHierarchy : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - public override TaskStatus OnUpdate() - { - return GetDefaultGameObject(targetGameObject.Value).activeInHierarchy ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveInHierarchy.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveInHierarchy.cs.meta deleted file mode 100644 index 10414adf..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveInHierarchy.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0bbe57db7a21ee94f86aef75bbcd6d18 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveSelf.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveSelf.cs deleted file mode 100644 index 37945765..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveSelf.cs +++ /dev/null @@ -1,22 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Returns Success if the GameObject is active in the hierarchy, otherwise Failure.")] - public class ActiveSelf : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - public override TaskStatus OnUpdate() - { - return GetDefaultGameObject(targetGameObject.Value).activeSelf ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveSelf.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveSelf.cs.meta deleted file mode 100644 index a367c1b1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/ActiveSelf.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 26a4530d0ecaa774aaf060511089ddc3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/CompareTag.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/CompareTag.cs deleted file mode 100644 index 86e676af..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/CompareTag.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Returns Success if tags match, otherwise Failure.")] - public class CompareTag : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The tag to compare against")] - public SharedString tag; - - public override TaskStatus OnUpdate() - { - return GetDefaultGameObject(targetGameObject.Value).CompareTag(tag.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - tag = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/CompareTag.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/CompareTag.cs.meta deleted file mode 100644 index 471d827f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/CompareTag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fa50c2eedc866794890ff361bdd1d593 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Destroy.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Destroy.cs deleted file mode 100644 index 659157b5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Destroy.cs +++ /dev/null @@ -1,32 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Destorys the specified GameObject. Returns Success.")] - public class Destroy : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Time to destroy the GameObject in")] - public float time; - - public override TaskStatus OnUpdate() - { - var destroyGameObject = GetDefaultGameObject(targetGameObject.Value); - if (time == 0) { - GameObject.Destroy(destroyGameObject); - } else { - GameObject.Destroy(destroyGameObject, time); - } - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - time = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Destroy.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Destroy.cs.meta deleted file mode 100644 index 0426b237..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Destroy.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 42a90ad4cba90604b8be494aa74df349 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/DestroyImmediate.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/DestroyImmediate.cs deleted file mode 100644 index 22338483..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/DestroyImmediate.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Destorys the specified GameObject immediately. Returns Success.")] - public class DestroyImmediate : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - public override TaskStatus OnUpdate() - { - var destroyGameObject = GetDefaultGameObject(targetGameObject.Value); - GameObject.DestroyImmediate(destroyGameObject); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/DestroyImmediate.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/DestroyImmediate.cs.meta deleted file mode 100644 index dfca4dbd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/DestroyImmediate.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 81f8712bcbdbdbf4aad17ba5e1e20d8c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Find.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Find.cs deleted file mode 100644 index 067adeed..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Find.cs +++ /dev/null @@ -1,28 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Finds a GameObject by name. Returns Success.")] - public class Find : Action - { - [Tooltip("The GameObject name to find")] - public SharedString gameObjectName; - [Tooltip("The object found by name")] - [RequiredField] - public SharedGameObject storeValue; - - public override TaskStatus OnUpdate() - { - storeValue.Value = GameObject.Find(gameObjectName.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - gameObjectName = null; - storeValue = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Find.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Find.cs.meta deleted file mode 100644 index 729c7c7d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Find.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5388c9a6fc7770f44885176c24f68aaa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindGameObjectsWithTag.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindGameObjectsWithTag.cs deleted file mode 100644 index db02e1bd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindGameObjectsWithTag.cs +++ /dev/null @@ -1,31 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Finds a GameObject by tag. Returns Success.")] - public class FindGameObjectsWithTag : Action - { - [Tooltip("The tag of the GameObject to find")] - public SharedString tag; - [Tooltip("The objects found by name")] - [RequiredField] - public SharedGameObjectList storeValue; - - public override TaskStatus OnUpdate() - { - var gameObjects = GameObject.FindGameObjectsWithTag(tag.Value); - for (int i = 0; i < gameObjects.Length; ++i) { - storeValue.Value.Add(gameObjects[i]); - } - - return TaskStatus.Success; - } - - public override void OnReset() - { - tag.Value = null; - storeValue.Value = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindGameObjectsWithTag.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindGameObjectsWithTag.cs.meta deleted file mode 100644 index 51a2649d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindGameObjectsWithTag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ccc3e1d2bf7cfc74089c17d593472f98 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindWithTag.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindWithTag.cs deleted file mode 100644 index 35a0ef63..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindWithTag.cs +++ /dev/null @@ -1,28 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Finds a GameObject by tag. Returns Success.")] - public class FindWithTag : Action - { - [Tooltip("The tag of the GameObject to find")] - public SharedString tag; - [Tooltip("The object found by name")] - [RequiredField] - public SharedGameObject storeValue; - - public override TaskStatus OnUpdate() - { - storeValue.Value = GameObject.FindWithTag(tag.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - tag.Value = null; - storeValue.Value = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindWithTag.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindWithTag.cs.meta deleted file mode 100644 index c12ea132..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/FindWithTag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d8768bdf841982f4aae662ee5dac3f2d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetComponent.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetComponent.cs deleted file mode 100644 index 96069ed8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetComponent.cs +++ /dev/null @@ -1,31 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Returns the component of Type type if the game object has one attached, null if it doesn't. Returns Success.")] - public class GetComponent : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The type of component")] - public SharedString type; - [Tooltip("The component")] - [RequiredField] - public SharedObject storeValue; - - public override TaskStatus OnUpdate() - { - storeValue.Value = GetDefaultGameObject(targetGameObject.Value).GetComponent(type.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - type.Value = ""; - storeValue.Value = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetComponent.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetComponent.cs.meta deleted file mode 100644 index 6d3bbf91..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetComponent.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 46e3dd9b1b260584b893abde5f733359 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetTag.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetTag.cs deleted file mode 100644 index 6392cb5c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetTag.cs +++ /dev/null @@ -1,28 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Stores the GameObject tag. Returns Success.")] - public class GetTag : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Active state of the GameObject")] - [RequiredField] - public SharedString storeValue; - - public override TaskStatus OnUpdate() - { - storeValue.Value = GetDefaultGameObject(targetGameObject.Value).tag; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetTag.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetTag.cs.meta deleted file mode 100644 index 03efe771..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/GetTag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 44bf3273a8802dc408352f165f18c541 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Instantiate.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Instantiate.cs deleted file mode 100644 index 61f53469..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Instantiate.cs +++ /dev/null @@ -1,33 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Instantiates a new GameObject. Returns Success.")] - public class Instantiate : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The position of the new GameObject")] - public SharedVector3 position; - [Tooltip("The rotation of the new GameObject")] - public SharedQuaternion rotation = Quaternion.identity; - [SharedRequired] - [Tooltip("The instantiated GameObject")] - public SharedGameObject storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = GameObject.Instantiate(targetGameObject.Value, position.Value, rotation.Value) as GameObject; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - position = Vector3.zero; - rotation = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Instantiate.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Instantiate.cs.meta deleted file mode 100644 index fc324f10..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/Instantiate.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 804a64515d87a0546ad7c6c4408ed53f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SendMessage.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SendMessage.cs deleted file mode 100644 index 87819e46..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SendMessage.cs +++ /dev/null @@ -1,33 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Sends a message to the target GameObject. Returns Success.")] - public class SendMessage : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The message to send")] - public SharedString message; - [Tooltip("The value to send")] - public SharedGenericVariable value; - - public override TaskStatus OnUpdate() - { - if (value.Value != null) { - GetDefaultGameObject(targetGameObject.Value).SendMessage(message.Value, value.Value.value.GetValue()); - } else { - GetDefaultGameObject(targetGameObject.Value).SendMessage(message.Value); - } - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - message = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SendMessage.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SendMessage.cs.meta deleted file mode 100644 index 7eee6459..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SendMessage.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dd0f144b1db34024eaea548f6539d2ae -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetActive.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetActive.cs deleted file mode 100644 index c3cbd84f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetActive.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Activates/Deactivates the GameObject. Returns Success.")] - public class SetActive : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Active state of the GameObject")] - public SharedBool active; - - public override TaskStatus OnUpdate() - { - GetDefaultGameObject(targetGameObject.Value).SetActive(active.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - active = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetActive.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetActive.cs.meta deleted file mode 100644 index 58907327..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetActive.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5237a810dcce11e499c1915171ec670b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetTag.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetTag.cs deleted file mode 100644 index d12ab6e4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetTag.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityGameObject -{ - [TaskCategory("Basic/GameObject")] - [TaskDescription("Sets the GameObject tag. Returns Success.")] - public class SetTag : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The GameObject tag")] - public SharedString tag; - - public override TaskStatus OnUpdate() - { - GetDefaultGameObject(targetGameObject.Value).tag = tag.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - tag = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetTag.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetTag.cs.meta deleted file mode 100644 index 6293b8dc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/GameObject/SetTag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e275477e6962d9b4fb90d7930bb6ff5a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input.meta deleted file mode 100644 index 0ec84f15..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 77642b8113f3f334d971d61be9516264 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAcceleration.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAcceleration.cs deleted file mode 100644 index 81c8be5c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAcceleration.cs +++ /dev/null @@ -1,24 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput -{ - [TaskCategory("Basic/Input")] - [TaskDescription("Stores the acceleration value.")] - public class GetAcceleration : Action - { - [RequiredField] - [Tooltip("The stored result")] - public SharedVector3 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Input.acceleration; - return TaskStatus.Success; - } - - public override void OnReset() - { - storeResult = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAcceleration.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAcceleration.cs.meta deleted file mode 100644 index 46720f9c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAcceleration.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 06e82895d2abea24599ddfd6f0d7386a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxis.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxis.cs deleted file mode 100644 index 00249ff4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxis.cs +++ /dev/null @@ -1,37 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput -{ - [TaskCategory("Basic/Input")] - [TaskDescription("Stores the value of the specified axis and stores it in a float.")] - public class GetAxis : Action - { - [Tooltip("The name of the axis")] - public SharedString axisName; - [Tooltip("Axis values are in the range -1 to 1. Use the multiplier to set a larger range")] - public SharedFloat multiplier; - [RequiredField] - [Tooltip("The stored result")] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - var axisValue = Input.GetAxis(axisName.Value); - - // if variable set to none, assume multiplier of 1 - if (!multiplier.IsNone) { - axisValue *= multiplier.Value; - } - - storeResult.Value = axisValue; - return TaskStatus.Success; - } - - public override void OnReset() - { - axisName = ""; - multiplier = 1.0f; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxis.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxis.cs.meta deleted file mode 100644 index b15eb427..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxis.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 84fa68d3aa9286f488ee60bb7f420079 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxisRaw.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxisRaw.cs deleted file mode 100644 index 3a28cd38..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxisRaw.cs +++ /dev/null @@ -1,37 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput -{ - [TaskCategory("Basic/Input")] - [TaskDescription("Stores the raw value of the specified axis and stores it in a float.")] - public class GetAxisRaw : Action - { - [Tooltip("The name of the axis")] - public SharedString axisName; - [Tooltip("Axis values are in the range -1 to 1. Use the multiplier to set a larger range")] - public SharedFloat multiplier; - [RequiredField] - [Tooltip("The stored result")] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - var axisValue = Input.GetAxis(axisName.Value); - - // if variable set to none, assume multiplier of 1 - if (!multiplier.IsNone) { - axisValue *= multiplier.Value; - } - - storeResult.Value = axisValue; - return TaskStatus.Success; - } - - public override void OnReset() - { - axisName = ""; - multiplier = 1.0f; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxisRaw.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxisRaw.cs.meta deleted file mode 100644 index 9f0257dc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetAxisRaw.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d7ba1768defe9ae4489e2d849801caf2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs deleted file mode 100644 index aafcb287..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput -{ - [TaskCategory("Basic/Input")] - [TaskDescription("Stores the state of the specified button.")] - public class GetButton : Action - { - [Tooltip("The name of the button")] - public SharedString buttonName; - [RequiredField] - [Tooltip("The stored result")] - public SharedBool storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Input.GetButton(buttonName.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - buttonName = "Fire1"; - storeResult = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs.meta deleted file mode 100644 index 3f0dcc36..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetButton.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7ca2e1ded24b0a144b628bb8ed81ccd0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetKey.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetKey.cs deleted file mode 100644 index 5fd8807a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetKey.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput -{ - [TaskCategory("Basic/Input")] - [TaskDescription("Stores the pressed state of the specified key.")] - public class GetKey : Action - { - [Tooltip("The key to test.")] - public KeyCode key; - [RequiredField] - [Tooltip("The stored result")] - public SharedBool storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Input.GetKey(key); - return TaskStatus.Success; - } - - public override void OnReset() - { - key = KeyCode.None; - storeResult = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetKey.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetKey.cs.meta deleted file mode 100644 index 250f6552..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetKey.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8d91595c5c003b948abb908c7465a7ec -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMouseButton.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMouseButton.cs deleted file mode 100644 index 2ffab1fd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMouseButton.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput -{ - [TaskCategory("Basic/Input")] - [TaskDescription("Stores the state of the specified mouse button.")] - public class GetMouseButton : Action - { - [Tooltip("The index of the button")] - public SharedInt buttonIndex; - [RequiredField] - [Tooltip("The stored result")] - public SharedBool storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Input.GetMouseButton(buttonIndex.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - buttonIndex = 0; - storeResult = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMouseButton.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMouseButton.cs.meta deleted file mode 100644 index bef0000b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMouseButton.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3449e6301a95d9e49a8f6b50ef862faa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMousePosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMousePosition.cs deleted file mode 100644 index c77718c3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMousePosition.cs +++ /dev/null @@ -1,24 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput -{ - [TaskCategory("Basic/Input")] - [TaskDescription("Stores the mouse position.")] - public class GetMousePosition : Action - { - [RequiredField] - [Tooltip("The stored result")] - public SharedVector2 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Input.mousePosition; - return TaskStatus.Success; - } - - public override void OnReset() - { - storeResult = Vector2.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMousePosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMousePosition.cs.meta deleted file mode 100644 index 6909b9e2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/GetMousePosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f11dbb85cfc5b3941ae4f82fa54b7d27 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs deleted file mode 100644 index 8a783800..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs +++ /dev/null @@ -1,22 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput -{ - [TaskCategory("Basic/Input")] - [TaskDescription("Returns success when the specified button is pressed.")] - public class IsButtonDown : Conditional - { - [Tooltip("The name of the button")] - public SharedString buttonName; - - public override TaskStatus OnUpdate() - { - return Input.GetButtonDown(buttonName.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - buttonName = "Fire1"; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs.meta deleted file mode 100644 index 82b95089..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonDown.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 554c281a83ae5bb4bbcdf3bdeac6779e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonUp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonUp.cs deleted file mode 100644 index 4912f768..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonUp.cs +++ /dev/null @@ -1,22 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput -{ - [TaskCategory("Basic/Input")] - [TaskDescription("Returns success when the specified button is released.")] - public class IsButtonUp : Conditional - { - [Tooltip("The name of the button")] - public SharedString buttonName; - - public override TaskStatus OnUpdate() - { - return Input.GetButtonUp(buttonName.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - buttonName = "Fire1"; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonUp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonUp.cs.meta deleted file mode 100644 index 5326dcbc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsButtonUp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 71d9dda886873b943922eae52da81244 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyDown.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyDown.cs deleted file mode 100644 index f1fe4100..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyDown.cs +++ /dev/null @@ -1,22 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput -{ - [TaskCategory("Basic/Input")] - [TaskDescription("Returns success when the specified key is pressed.")] - public class IsKeyDown : Conditional - { - [Tooltip("The key to test")] - public KeyCode key; - - public override TaskStatus OnUpdate() - { - return Input.GetKeyDown(key) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - key = KeyCode.None; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyDown.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyDown.cs.meta deleted file mode 100644 index bffece71..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyDown.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b4c02f1f071b9604389e1c1f1bfab3eb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyUp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyUp.cs deleted file mode 100644 index ddeb76f8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyUp.cs +++ /dev/null @@ -1,22 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput -{ - [TaskCategory("Basic/Input")] - [TaskDescription("Returns success when the specified key is released.")] - public class IsKeyUp : Conditional - { - [Tooltip("The key to test")] - public KeyCode key; - - public override TaskStatus OnUpdate() - { - return Input.GetKeyUp(key) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - key = KeyCode.None; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyUp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyUp.cs.meta deleted file mode 100644 index bbca872f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsKeyUp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7d8622d5540c851448ad036016f0f426 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseDown.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseDown.cs deleted file mode 100644 index 573d6266..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseDown.cs +++ /dev/null @@ -1,22 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput -{ - [TaskCategory("Basic/Input")] - [TaskDescription("Returns success when the specified mouse button is pressed.")] - public class IsMouseDown : Conditional - { - [Tooltip("The button index")] - public SharedInt buttonIndex; - - public override TaskStatus OnUpdate() - { - return Input.GetMouseButtonDown(buttonIndex.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - buttonIndex = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseDown.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseDown.cs.meta deleted file mode 100644 index 63169ed0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseDown.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fd85264410cd9ac45b0c9c2e550f7c46 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseUp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseUp.cs deleted file mode 100644 index 157474d1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseUp.cs +++ /dev/null @@ -1,22 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput -{ - [TaskCategory("Basic/Input")] - [TaskDescription("Returns success when the specified mouse button is pressed.")] - public class IsMouseUp : Conditional - { - [Tooltip("The button index")] - public SharedInt buttonIndex; - - public override TaskStatus OnUpdate() - { - return Input.GetMouseButtonUp(buttonIndex.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - buttonIndex = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseUp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseUp.cs.meta deleted file mode 100644 index 8d3608bf..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Input/IsMouseUp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b2ecc8718d19d9b46832c51de0390245 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask.meta deleted file mode 100644 index a0aceb57..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: 03592e079804666408280a195c972a69 -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/GetLayer.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/GetLayer.cs deleted file mode 100644 index 032e47be..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/GetLayer.cs +++ /dev/null @@ -1,28 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLayerMask -{ - [TaskCategory("Basic/LayerMask")] - [TaskDescription("Gets the layer of a GameObject.")] - public class GetLayer : Action - { - [Tooltip("The GameObject to set the layer of")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the layer to get")] - [RequiredField] - public SharedString storeResult; - - public override TaskStatus OnUpdate() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - storeResult.Value = LayerMask.LayerToName(currentGameObject.layer); - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeResult = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/GetLayer.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/GetLayer.cs.meta deleted file mode 100644 index 3b4d954c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/GetLayer.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4a7e0974f9cfb9945bb2d0f41ed55f10 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/SetLayer.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/SetLayer.cs deleted file mode 100644 index 09f218d6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/SetLayer.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLayerMask -{ - [TaskCategory("Basic/LayerMask")] - [TaskDescription("Sets the layer of a GameObject.")] - public class SetLayer : Action - { - [Tooltip("The GameObject to set the layer of")] - public SharedGameObject targetGameObject; - [Tooltip("The name of the layer to set")] - public SharedString layerName = "Default"; - - public override TaskStatus OnUpdate() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - currentGameObject.layer = LayerMask.NameToLayer(layerName.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - layerName = "Default"; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/SetLayer.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/SetLayer.cs.meta deleted file mode 100644 index f57d1cd8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/LayerMask/SetLayer.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 483904cd6081c8440a146b11481d6623 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light.meta deleted file mode 100644 index 3985d7aa..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 48823f7ab681c2b4f9439c617555cf7a -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetColor.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetColor.cs deleted file mode 100644 index 29a084c3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetColor.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Stores the color of the light.")] - public class GetColor : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [RequiredField] - [Tooltip("The color to store")] - public SharedColor storeValue; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - storeValue = light.color; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Color.white; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetColor.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetColor.cs.meta deleted file mode 100644 index c391a19f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetColor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 935c3e08c991a524fa451ba010bb7077 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetCookieSize.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetCookieSize.cs deleted file mode 100644 index 85dfd53b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetCookieSize.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Stores the light's cookie size.")] - public class GetCookieSize : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [RequiredField] - [Tooltip("The size to store")] - public SharedFloat storeValue; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - storeValue = light.cookieSize; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetCookieSize.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetCookieSize.cs.meta deleted file mode 100644 index a86579e2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetCookieSize.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4c382d40893d45d46842714355d4cab4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetIntensity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetIntensity.cs deleted file mode 100644 index 7ee3f1b3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetIntensity.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Stores the intensity of the light.")] - public class GetIntensity : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [RequiredField] - [Tooltip("The intensity to store")] - public SharedFloat storeValue; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - storeValue = light.intensity; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetIntensity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetIntensity.cs.meta deleted file mode 100644 index dfad40c2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetIntensity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8af031ee741aec645bcf65ae806e78a7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetRange.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetRange.cs deleted file mode 100644 index 3156c745..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetRange.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Stores the range of the light.")] - public class GetRange : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [RequiredField] - [Tooltip("The range to store")] - public SharedFloat storeValue; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - storeValue = light.range; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetRange.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetRange.cs.meta deleted file mode 100644 index 220a3c67..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetRange.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5ebab1924e0212c4ca589526a033fda6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowBias.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowBias.cs deleted file mode 100644 index 796f4fe0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowBias.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Stores the shadow bias of the light.")] - public class GetShadowBias : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [RequiredField] - [Tooltip("The shadow bias to store")] - public SharedFloat storeValue; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - storeValue = light.shadowBias; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowBias.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowBias.cs.meta deleted file mode 100644 index 7b99160f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowBias.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9d0cbb27de892b44193aaa9f12842ed2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowStrength.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowStrength.cs deleted file mode 100644 index 81e3ca68..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowStrength.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Stores the color of the light.")] - public class GetShadowStrength : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [RequiredField] - [Tooltip("The color to store")] - public SharedFloat storeValue; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - storeValue = light.shadowStrength; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowStrength.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowStrength.cs.meta deleted file mode 100644 index 76739e89..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetShadowStrength.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7a7fe83e412ff344888939e6a974a064 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetSpotAngle.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetSpotAngle.cs deleted file mode 100644 index d6b98562..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetSpotAngle.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Stores the spot angle of the light.")] - public class GetSpotAngle : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [RequiredField] - [Tooltip("The spot angle to store")] - public SharedFloat storeValue; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - storeValue = light.spotAngle; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetSpotAngle.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetSpotAngle.cs.meta deleted file mode 100644 index 74436066..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/GetSpotAngle.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4dfc8df823e06cd45a09d929a060f99d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetColor.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetColor.cs deleted file mode 100644 index 43232caf..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetColor.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Sets the color of the light.")] - public class SetColor : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The color to set")] - public SharedColor color; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - light.color = color.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - color = Color.white; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetColor.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetColor.cs.meta deleted file mode 100644 index 403db7c3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetColor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0ba683b0b18385042b3351c660f29d33 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookie.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookie.cs deleted file mode 100644 index 5037c250..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookie.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Sets the cookie of the light.")] - public class SetCookie : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The cookie to set")] - public Texture2D cookie; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - light.cookie = cookie; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - cookie = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookie.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookie.cs.meta deleted file mode 100644 index ad8cc7b0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookie.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 374f9a87dc387a04585b87f187d019c5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookieSize.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookieSize.cs deleted file mode 100644 index b70581e3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookieSize.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Sets the light's cookie size.")] - public class SetCookieSize : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The size to set")] - public SharedFloat cookieSize; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - light.cookieSize = cookieSize.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - cookieSize = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookieSize.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookieSize.cs.meta deleted file mode 100644 index e06f1769..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCookieSize.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fbc2d3865f928144ea551b1d927ddc96 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCullingMask.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCullingMask.cs deleted file mode 100644 index 5f6ef3e2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCullingMask.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Sets the culling mask of the light.")] - public class SetCullingMask : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The culling mask to set")] - public LayerMask cullingMask; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - light.cullingMask = cullingMask.value; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - cullingMask = -1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCullingMask.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCullingMask.cs.meta deleted file mode 100644 index 8968b4e5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetCullingMask.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3f67673818b7e914ebf088b3752d716b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetIntensity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetIntensity.cs deleted file mode 100644 index 9bbf21c8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetIntensity.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Sets the intensity of the light.")] - public class SetIntensity : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The intensity to set")] - public SharedFloat intensity; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - light.intensity = intensity.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - intensity = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetIntensity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetIntensity.cs.meta deleted file mode 100644 index 137b45cd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetIntensity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1f32aa9b9681f0a4285bd60ac0607d00 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetRange.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetRange.cs deleted file mode 100644 index 975421ee..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetRange.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Sets the range of the light.")] - public class SetRange : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The range to set")] - public SharedFloat range; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - light.range = range.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - range = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetRange.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetRange.cs.meta deleted file mode 100644 index d2bb5bd3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetRange.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f0b5d0c0a07806244a3c5b15e29cf90c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowBias.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowBias.cs deleted file mode 100644 index b286c041..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowBias.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Sets the shadow bias of the light.")] - public class SetShadowBias : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The shadow bias to set")] - public SharedFloat shadowBias; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - light.shadowBias = shadowBias.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - shadowBias = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowBias.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowBias.cs.meta deleted file mode 100644 index c364894d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowBias.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f2b374e3c2e26e94ba76dd68290ff538 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftness.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftness.cs deleted file mode 100644 index 1f9122e8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftness.cs +++ /dev/null @@ -1,46 +0,0 @@ -#if UNITY_4_6 || UNITY_4_7 -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Sets the shadow softness of the light.")] - public class SetShadowSoftness : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The shadow softness to set")] - public SharedFloat shadowSoftness; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - light.shadowSoftness = shadowSoftness.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - shadowSoftness = 0; - } - } -} -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftness.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftness.cs.meta deleted file mode 100644 index 1276066d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftness.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ca82eb780880d17499dc6de132631073 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftnessFade.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftnessFade.cs deleted file mode 100644 index 2c5047f0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftnessFade.cs +++ /dev/null @@ -1,46 +0,0 @@ -#if UNITY_4_6 || UNITY_4_7 -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Sets the shadow softness fade value of the light.")] - public class SetShadowSoftnessFade : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The shadow softness fade to set")] - public SharedFloat shadowSoftnessFade; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - light.shadowSoftnessFade = shadowSoftnessFade.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - shadowSoftnessFade = 0; - } - } -} -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftnessFade.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftnessFade.cs.meta deleted file mode 100644 index 074f1119..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowSoftnessFade.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5e7db120bd152164eb6d586a39e53175 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowStrength.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowStrength.cs deleted file mode 100644 index b30cf243..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowStrength.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Sets the shadow strength of the light.")] - public class SetShadowSoftnessStrength : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The shadow strength to set")] - public SharedFloat shadowStrength; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - light.shadowStrength = shadowStrength.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - shadowStrength = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowStrength.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowStrength.cs.meta deleted file mode 100644 index f5ba4379..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadowStrength.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 611e5846c0413be46bbc44fbd256b4e9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadows.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadows.cs deleted file mode 100644 index 8310dd27..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadows.cs +++ /dev/null @@ -1,43 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Sets the shadow type of the light.")] - public class SetShadows : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The shadow type to set")] - public LightShadows shadows; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - light.shadows = shadows; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadows.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadows.cs.meta deleted file mode 100644 index f528500b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetShadows.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b6226eb03ad729445bc7ccfb1f0cd89d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetSpotAngle.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetSpotAngle.cs deleted file mode 100644 index f017a652..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetSpotAngle.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Sets the spot angle of the light.")] - public class SetSpotAngle : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The spot angle to set")] - public SharedFloat spotAngle; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - light.spotAngle = spotAngle.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - spotAngle = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetSpotAngle.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetSpotAngle.cs.meta deleted file mode 100644 index b6d09a90..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetSpotAngle.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9a8b9b0654618fe48953e059d4aa5ee3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetType.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetType.cs deleted file mode 100644 index 2d103ed9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetType.cs +++ /dev/null @@ -1,43 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight -{ - [TaskCategory("Basic/Light")] - [TaskDescription("Sets the type of the light.")] - public class SetType : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The type to set")] - public LightType type; - - // cache the light component - private Light light; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - light = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (light == null) { - Debug.LogWarning("Light is null"); - return TaskStatus.Failure; - } - - light.type = type; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetType.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetType.cs.meta deleted file mode 100644 index c0ba834c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Light/SetType.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 85cae5f82bfcbfb41ac7c66464eef85f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math.meta deleted file mode 100644 index 60031b56..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: fffa44303fdbffe4289373d6e5087b4a -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs deleted file mode 100644 index 0098ff55..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Performs a comparison between two bools.")] - public class BoolComparison : Conditional - { - [Tooltip("The first bool")] - public SharedBool bool1; - [Tooltip("The second bool")] - public SharedBool bool2; - - public override TaskStatus OnUpdate() - { - return bool1.Value == bool2.Value ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - bool1.Value = false; - bool2.Value = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs.meta deleted file mode 100644 index ec4e2beb..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolComparison.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: abaa3d78e68f249428f3be7acae86b0d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs deleted file mode 100644 index 04fe32c9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Flips the value of the bool.")] - public class BoolFlip : Action - { - [Tooltip("The bool to flip the value of")] - public SharedBool boolVariable; - - public override TaskStatus OnUpdate() - { - boolVariable.Value = !boolVariable.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - boolVariable.Value = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs.meta deleted file mode 100644 index 44658dae..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolFlip.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 54aae1e47fe3be6458751bf1f9defe8f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs deleted file mode 100644 index 8f4eb768..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs +++ /dev/null @@ -1,51 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Performs a math operation on two bools: AND, OR, NAND, or XOR.")] - public class BoolOperator : Action - { - public enum Operation - { - AND, - OR, - NAND, - XOR - } - - [Tooltip("The operation to perform")] - public Operation operation; - [Tooltip("The first bool")] - public SharedBool bool1; - [Tooltip("The second bool")] - public SharedBool bool2; - [Tooltip("The variable to store the result")] - public SharedBool storeResult; - - public override TaskStatus OnUpdate() - { - switch (operation) { - case Operation.AND: - storeResult.Value = bool1.Value && bool2.Value; - break; - case Operation.OR: - storeResult.Value = bool1.Value || bool2.Value; - break; - case Operation.NAND: - storeResult.Value = !(bool1.Value && bool2.Value); - break; - case Operation.XOR: - storeResult.Value = bool1.Value ^ bool2.Value; - break; - } - return TaskStatus.Success; - } - - public override void OnReset() - { - operation = Operation.AND; - bool1.Value = false; - bool2.Value = false; - storeResult.Value = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs.meta deleted file mode 100644 index 7b4a9b28..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/BoolOperator.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bd7b9dfddd114be4a8c8a8521262970d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs deleted file mode 100644 index 16c2e345..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs +++ /dev/null @@ -1,23 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Stores the absolute value of the float.")] - public class FloatAbs : Action - { - [Tooltip("The float to return the absolute value of")] - public SharedFloat floatVariable; - - public override TaskStatus OnUpdate() - { - floatVariable.Value = Mathf.Abs(floatVariable.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - floatVariable = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs.meta deleted file mode 100644 index 805bd7e7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatAbs.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ab5531c4ed335b643a6f310c048a6b00 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs deleted file mode 100644 index 89f406b9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Clamps the float between two values.")] - public class FloatClamp : Action - { - [Tooltip("The float to clamp")] - public SharedFloat floatVariable; - [Tooltip("The maximum value of the float")] - public SharedFloat minValue; - [Tooltip("The maximum value of the float")] - public SharedFloat maxValue; - - public override TaskStatus OnUpdate() - { - floatVariable.Value = Mathf.Clamp(floatVariable.Value, minValue.Value, maxValue.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - floatVariable = minValue = maxValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs.meta deleted file mode 100644 index dbe8a35c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatClamp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 75c3634f2c8f1dd49b826a7ac0c7bdbe -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs deleted file mode 100644 index 1aa5c83e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Performs comparison between two floats: less than, less than or equal to, equal to, not equal to, greater than or equal to, or greater than.")] - public class FloatComparison : Conditional - { - public enum Operation - { - LessThan, - LessThanOrEqualTo, - EqualTo, - NotEqualTo, - GreaterThanOrEqualTo, - GreaterThan - } - - [Tooltip("The operation to perform")] - public Operation operation; - [Tooltip("The first float")] - public SharedFloat float1; - [Tooltip("The second float")] - public SharedFloat float2; - - public override TaskStatus OnUpdate() - { - switch (operation) { - case Operation.LessThan: - return float1.Value < float2.Value ? TaskStatus.Success : TaskStatus.Failure; - case Operation.LessThanOrEqualTo: - return float1.Value <= float2.Value ? TaskStatus.Success : TaskStatus.Failure; - case Operation.EqualTo: - return float1.Value == float2.Value ? TaskStatus.Success : TaskStatus.Failure; - case Operation.NotEqualTo: - return float1.Value != float2.Value ? TaskStatus.Success : TaskStatus.Failure; - case Operation.GreaterThanOrEqualTo: - return float1.Value >= float2.Value ? TaskStatus.Success : TaskStatus.Failure; - case Operation.GreaterThan: - return float1.Value > float2.Value ? TaskStatus.Success : TaskStatus.Failure; - } - return TaskStatus.Failure; - } - - public override void OnReset() - { - operation = Operation.LessThan; - float1.Value = 0; - float2.Value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs.meta deleted file mode 100644 index f4f6d874..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatComparison.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 79c81f4e67dbdc44880734e78153117c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs deleted file mode 100644 index c4cebd9d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs +++ /dev/null @@ -1,65 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Performs a math operation on two floats: Add, Subtract, Multiply, Divide, Min, or Max.")] - public class FloatOperator : Action - { - public enum Operation - { - Add, - Subtract, - Multiply, - Divide, - Min, - Max, - Modulo - } - - [Tooltip("The operation to perform")] - public Operation operation; - [Tooltip("The first float")] - public SharedFloat float1; - [Tooltip("The second float")] - public SharedFloat float2; - [Tooltip("The variable to store the result")] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - switch (operation) { - case Operation.Add: - storeResult.Value = float1.Value + float2.Value; - break; - case Operation.Subtract: - storeResult.Value = float1.Value - float2.Value; - break; - case Operation.Multiply: - storeResult.Value = float1.Value * float2.Value; - break; - case Operation.Divide: - storeResult.Value = float1.Value / float2.Value; - break; - case Operation.Min: - storeResult.Value = Mathf.Min(float1.Value, float2.Value); - break; - case Operation.Max: - storeResult.Value = Mathf.Max(float1.Value, float2.Value); - break; - case Operation.Modulo: - storeResult.Value = float1.Value % float2.Value; - break; - } - return TaskStatus.Success; - } - - public override void OnReset() - { - operation = Operation.Add; - float1.Value = 0; - float2.Value = 0; - storeResult.Value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs.meta deleted file mode 100644 index 1641d6ce..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/FloatOperator.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9144ac2a8b796c941aeb3d6a4bc2cf7c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs deleted file mode 100644 index 05f97250..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs +++ /dev/null @@ -1,23 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Stores the absolute value of the int.")] - public class IntAbs : Action - { - [Tooltip("The int to return the absolute value of")] - public SharedInt intVariable; - - public override TaskStatus OnUpdate() - { - intVariable.Value = Mathf.Abs(intVariable.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - intVariable = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs.meta deleted file mode 100644 index b3363f74..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntAbs.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8edcbab77068fe044842381cfe0acc19 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs deleted file mode 100644 index fed3a146..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Clamps the int between two values.")] - public class IntClamp : Action - { - [Tooltip("The int to clamp")] - public SharedInt intVariable; - [Tooltip("The maximum value of the int")] - public SharedInt minValue; - [Tooltip("The maximum value of the int")] - public SharedInt maxValue; - - public override TaskStatus OnUpdate() - { - intVariable.Value = Mathf.Clamp(intVariable.Value, minValue.Value, maxValue.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - intVariable = minValue = maxValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs.meta deleted file mode 100644 index c1bf1d66..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntClamp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 67cbe30015f2b4940a069cbbee22d888 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs deleted file mode 100644 index d0eda4f5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Performs comparison between two integers: less than, less than or equal to, equal to, not equal to, greater than or equal to, or greater than.")] - public class IntComparison : Conditional - { - public enum Operation - { - LessThan, - LessThanOrEqualTo, - EqualTo, - NotEqualTo, - GreaterThanOrEqualTo, - GreaterThan - } - - [Tooltip("The operation to perform")] - public Operation operation; - [Tooltip("The first integer")] - public SharedInt integer1; - [Tooltip("The second integer")] - public SharedInt integer2; - - public override TaskStatus OnUpdate() - { - switch (operation) { - case Operation.LessThan: - return integer1.Value < integer2.Value ? TaskStatus.Success : TaskStatus.Failure; - case Operation.LessThanOrEqualTo: - return integer1.Value <= integer2.Value ? TaskStatus.Success : TaskStatus.Failure; - case Operation.EqualTo: - return integer1.Value == integer2.Value ? TaskStatus.Success : TaskStatus.Failure; - case Operation.NotEqualTo: - return integer1.Value != integer2.Value ? TaskStatus.Success : TaskStatus.Failure; - case Operation.GreaterThanOrEqualTo: - return integer1.Value >= integer2.Value ? TaskStatus.Success : TaskStatus.Failure; - case Operation.GreaterThan: - return integer1.Value > integer2.Value ? TaskStatus.Success : TaskStatus.Failure; - } - return TaskStatus.Failure; - } - - public override void OnReset() - { - operation = Operation.LessThan; - integer1.Value = 0; - integer2.Value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs.meta deleted file mode 100644 index e8807d6b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntComparison.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 99108c35b6d8e9942b8cf441a63f97b5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs deleted file mode 100644 index 1ad1bc62..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs +++ /dev/null @@ -1,66 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Performs a math operation on two integers: Add, Subtract, Multiply, Divide, Min, or Max.")] - public class IntOperator : Action - { - public enum Operation - { - Add, - Subtract, - Multiply, - Divide, - Min, - Max, - Modulo - } - - [Tooltip("The operation to perform")] - public Operation operation; - [Tooltip("The first integer")] - public SharedInt integer1; - [Tooltip("The second integer")] - public SharedInt integer2; - [RequiredField] - [Tooltip("The variable to store the result")] - public SharedInt storeResult; - - public override TaskStatus OnUpdate() - { - switch (operation) { - case Operation.Add: - storeResult.Value = integer1.Value + integer2.Value; - break; - case Operation.Subtract: - storeResult.Value = integer1.Value - integer2.Value; - break; - case Operation.Multiply: - storeResult.Value = integer1.Value * integer2.Value; - break; - case Operation.Divide: - storeResult.Value = integer1.Value / integer2.Value; - break; - case Operation.Min: - storeResult.Value = Mathf.Min(integer1.Value, integer2.Value); - break; - case Operation.Max: - storeResult.Value = Mathf.Max(integer1.Value, integer2.Value); - break; - case Operation.Modulo: - storeResult.Value = integer1.Value % integer2.Value; - break; - } - return TaskStatus.Success; - } - - public override void OnReset() - { - operation = Operation.Add; - integer1.Value = 0; - integer2.Value = 0; - storeResult.Value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs.meta deleted file mode 100644 index fc1fa364..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IntOperator.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 84208004fb80c0945acc5685aa0a2681 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs deleted file mode 100644 index 9a106fde..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Is the float a positive value?")] - public class IsFloatPositive : Conditional - { - [Tooltip("The float to check if positive")] - public SharedFloat floatVariable; - - public override TaskStatus OnUpdate() - { - return floatVariable.Value > 0 ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - floatVariable = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs.meta deleted file mode 100644 index 6502aa63..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsFloatPositive.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: db01d0da1f282134ca0ff7332eb19208 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs deleted file mode 100644 index 66fd1e7d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Is the int a positive value?")] - public class IsIntPositive : Conditional - { - [Tooltip("The int to check if positive")] - public SharedInt intVariable; - - public override TaskStatus OnUpdate() - { - return intVariable.Value > 0 ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - intVariable = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs.meta deleted file mode 100644 index 0fd5bd95..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/IsIntPositive.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0caff63c23ae17343a455fcbe6eab40a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs deleted file mode 100644 index 1e39179c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs +++ /dev/null @@ -1,30 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Lerp the float by an amount.")] - public class Lerp : Action - { - [Tooltip("The from value")] - public SharedFloat fromValue; - [Tooltip("The to value")] - public SharedFloat toValue; - [Tooltip("The amount to lerp")] - public SharedFloat lerpAmount; - [Tooltip("The lerp resut")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Mathf.Lerp(fromValue.Value, toValue.Value, lerpAmount.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - fromValue = toValue = lerpAmount = storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs.meta deleted file mode 100644 index b6e18c51..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/Lerp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 355f3f83182cc434cb3a1bfb66862e29 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs deleted file mode 100644 index 11cd8165..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs +++ /dev/null @@ -1,30 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Lerp the angle by an amount.")] - public class LerpAngle : Action - { - [Tooltip("The from value")] - public SharedFloat fromValue; - [Tooltip("The to value")] - public SharedFloat toValue; - [Tooltip("The amount to lerp")] - public SharedFloat lerpAmount; - [Tooltip("The lerp resut")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Mathf.LerpAngle(fromValue.Value, toValue.Value, lerpAmount.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - fromValue = toValue = lerpAmount = storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs.meta deleted file mode 100644 index 6b5fc782..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/LerpAngle.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c3b148edcb926b744a2bb789f7967e24 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs deleted file mode 100644 index 2cb731d3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs +++ /dev/null @@ -1,23 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Sets a random bool value")] - public class RandomBool : Action - { - [Tooltip("The variable to store the result")] - public SharedBool storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Random.value < 0.5f; - return TaskStatus.Success; - } - - public override void OnReset() - { - storeResult.Value = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs.meta deleted file mode 100644 index e666e5ed..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomBool.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 76d2565ca99ca26459dbefb44dcac109 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs deleted file mode 100644 index 57ca24f8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs +++ /dev/null @@ -1,36 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Sets a random float value")] - public class RandomFloat : Action - { - [Tooltip("The minimum amount")] - public SharedFloat min; - [Tooltip("The maximum amount")] - public SharedFloat max; - [Tooltip("Is the maximum value inclusive?")] - public bool inclusive; - [Tooltip("The variable to store the result")] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - if (inclusive) { - storeResult.Value = Random.Range(min.Value, max.Value + 1); - } else { - storeResult.Value = Random.Range(min.Value, max.Value); - } - return TaskStatus.Success; - } - - public override void OnReset() - { - min.Value = 0; - max.Value = 0; - inclusive = false; - storeResult.Value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs.meta deleted file mode 100644 index 9b1e5fc8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomFloat.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9f81e111c77731b418178f1226975c3f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs deleted file mode 100644 index 6fa4db81..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs +++ /dev/null @@ -1,36 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Sets a random int value")] - public class RandomInt : Action - { - [Tooltip("The minimum amount")] - public SharedInt min; - [Tooltip("The maximum amount")] - public SharedInt max; - [Tooltip("Is the maximum value inclusive?")] - public bool inclusive; - [Tooltip("The variable to store the result")] - public SharedInt storeResult; - - public override TaskStatus OnUpdate() - { - if (inclusive) { - storeResult.Value = Random.Range(min.Value, max.Value + 1); - } else { - storeResult.Value = Random.Range(min.Value, max.Value); - } - return TaskStatus.Success; - } - - public override void OnReset() - { - min.Value = 0; - max.Value = 0; - inclusive = false; - storeResult.Value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs.meta deleted file mode 100644 index 2d3efdac..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/RandomInt.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 067384c41f33cff49bcdf6adec9da049 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs deleted file mode 100644 index e4821682..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Sets a bool value")] - public class SetBool : Action - { - [Tooltip("The bool value to set")] - public SharedBool boolValue; - [Tooltip("The variable to store the result")] - public SharedBool storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = boolValue.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - boolValue.Value = false; - storeResult.Value = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs.meta deleted file mode 100644 index 33f077c7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetBool.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 55f244424a532d24bba59542e2f0fc59 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs deleted file mode 100644 index e9892ece..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Sets a float value")] - public class SetFloat : Action - { - [Tooltip("The float value to set")] - public SharedFloat floatValue; - [Tooltip("The variable to store the result")] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = floatValue.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - floatValue.Value = 0; - storeResult.Value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs.meta deleted file mode 100644 index 794328f7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetFloat.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4d915065ba447c64ba05f8e2841c6efd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs deleted file mode 100644 index e16fb31a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs +++ /dev/null @@ -1,24 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.Math -{ - [TaskCategory("Basic/Math")] - [TaskDescription("Sets an int value")] - public class SetInt : Action - { - [Tooltip("The int value to set")] - public SharedInt intValue; - [Tooltip("The variable to store the result")] - public SharedInt storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = intValue.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - intValue.Value = 0; - storeResult.Value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs.meta deleted file mode 100644 index c5a42a46..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Math/SetInt.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: da57a0a43f227e445b9311bae043401f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent.meta deleted file mode 100644 index 277f90de..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: 7e052e6171d06ed43bea8c8143e7bce5 -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAcceleration.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAcceleration.cs deleted file mode 100644 index 050f35e4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAcceleration.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Gets the maximum acceleration of an agent as it follows a path, given in units / sec^2.. Returns Success.")] - public class GetAcceleration : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [SharedRequired] - [Tooltip("The NavMeshAgent acceleration")] - public SharedFloat storeValue; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - - storeValue.Value = navMeshAgent.acceleration; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAcceleration.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAcceleration.cs.meta deleted file mode 100644 index 8640a76e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAcceleration.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7e00211632663cc43bc88ab068ab5d44 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAngularSpeed.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAngularSpeed.cs deleted file mode 100644 index f5378f2d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAngularSpeed.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Gets the maximum turning speed in (deg/s) while following a path.. Returns Success.")] - public class GetAngularSpeed : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [SharedRequired] - [Tooltip("The NavMeshAgent angular speed")] - public SharedFloat storeValue; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - - storeValue.Value = navMeshAgent.angularSpeed; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAngularSpeed.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAngularSpeed.cs.meta deleted file mode 100644 index 6fd470cc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetAngularSpeed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 110bcd7b4d1baae4096b5da6737c1e16 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetDestination.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetDestination.cs deleted file mode 100644 index c85ef613..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetDestination.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Gets the destination of the agent in world-space units. Returns Success.")] - public class GetDestination : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [SharedRequired] - [Tooltip("The NavMeshAgent destination")] - public SharedVector3 storeValue; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - - storeValue.Value = navMeshAgent.destination; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetDestination.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetDestination.cs.meta deleted file mode 100644 index e6090098..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetDestination.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4368ae3e22d36604697d420dff004cbe -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetRemainingDistance.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetRemainingDistance.cs deleted file mode 100644 index e2f49731..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetRemainingDistance.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Gets the distance between the agent's position and the destination on the current path. Returns Success.")] - public class GetRemainingDistance : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [SharedRequired] - [Tooltip("The remaining distance")] - public SharedFloat storeValue; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - - storeValue.Value = navMeshAgent.remainingDistance; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetRemainingDistance.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetRemainingDistance.cs.meta deleted file mode 100644 index 8ac9d355..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetRemainingDistance.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ab046b37543b6744aa440cd708a93b81 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetSpeed.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetSpeed.cs deleted file mode 100644 index 1969545f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetSpeed.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Gets the maximum movement speed when following a path. Returns Success.")] - public class GetSpeed : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [SharedRequired] - [Tooltip("The NavMeshAgent speed")] - public SharedFloat storeValue; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - - storeValue.Value = navMeshAgent.speed; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetSpeed.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetSpeed.cs.meta deleted file mode 100644 index d395eea4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/GetSpeed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b6397854a3aea4b44a5ab4ccf98d082d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Move.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Move.cs deleted file mode 100644 index c3ad27fb..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Move.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Apply relative movement to the current position. Returns Success.")] - public class Move : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The relative movement vector")] - public SharedVector3 offset; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - - navMeshAgent.Move(offset.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - offset = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Move.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Move.cs.meta deleted file mode 100644 index 4217e2de..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Move.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 55ea16e678f6fae47a46affd3d22b883 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/ResetPath.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/ResetPath.cs deleted file mode 100644 index 3aa1a4bc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/ResetPath.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Clears the current path. Returns Success.")] - public class ResetPath : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - - navMeshAgent.ResetPath(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/ResetPath.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/ResetPath.cs.meta deleted file mode 100644 index 2e95416c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/ResetPath.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e90973887b9e7d04aafc5d13ecdfc8b9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Resume.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Resume.cs deleted file mode 100644 index bf62cb97..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Resume.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Resumes the movement along the current path after a pause. Returns Success.")] - public class Resume : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 || UNITY_5_5 - navMeshAgent.Resume(); -#else - navMeshAgent.isStopped = false; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Resume.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Resume.cs.meta deleted file mode 100644 index 16e07057..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Resume.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2c87e343e0ec23041b0cf7d8090d4814 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAcceleration.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAcceleration.cs deleted file mode 100644 index 9473466d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAcceleration.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Sets the maximum acceleration of an agent as it follows a path, given in units / sec^2. Returns Success.")] - public class SetAcceleration : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The NavMeshAgent acceleration")] - public SharedFloat acceleration; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - - navMeshAgent.acceleration = acceleration.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - acceleration = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAcceleration.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAcceleration.cs.meta deleted file mode 100644 index e3090bce..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAcceleration.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a8357209bccc16442b549c580872bb05 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAngularSpeed.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAngularSpeed.cs deleted file mode 100644 index 3c7c7721..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAngularSpeed.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Sets the maximum turning speed in (deg/s) while following a path. Returns Success.")] - public class SetAngularSpeed : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The NavMeshAgent angular speed")] - public SharedFloat angularSpeed; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - - navMeshAgent.angularSpeed = angularSpeed.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - angularSpeed = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAngularSpeed.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAngularSpeed.cs.meta deleted file mode 100644 index 0b1d44a5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetAngularSpeed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0d8e213aa17540848b83b17ba1609c74 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetDestination.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetDestination.cs deleted file mode 100644 index 0efa0dba..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetDestination.cs +++ /dev/null @@ -1,47 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Sets the destination of the agent in world-space units. Returns Success if the destination is valid.")] - public class SetDestination: Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [SharedRequired] - [Tooltip("The NavMeshAgent destination")] - public SharedVector3 destination; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - - return navMeshAgent.SetDestination(destination.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - destination = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetDestination.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetDestination.cs.meta deleted file mode 100644 index d5f1bde8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetDestination.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 55d9c2d20e895104181ae1b484868ead -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetSpeed.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetSpeed.cs deleted file mode 100644 index a1a4a51b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetSpeed.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Sets the maximum movement speed when following a path. Returns Success.")] - public class SetSpeed : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The NavMeshAgent speed")] - public SharedFloat speed; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - - navMeshAgent.speed = speed.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - speed = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetSpeed.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetSpeed.cs.meta deleted file mode 100644 index 79a97d26..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/SetSpeed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 34372b45870504b419f34165fb1fa4fb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Stop.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Stop.cs deleted file mode 100644 index 0af7d480..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Stop.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Stop movement of this agent along its current path. Returns Success.")] - public class Stop : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 || UNITY_5_5 - navMeshAgent.Stop(); -#else - navMeshAgent.isStopped = true; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Stop.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Stop.cs.meta deleted file mode 100644 index 7a6ada0c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Stop.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b20958b8b92e47f40ba3178c99576182 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Warp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Warp.cs deleted file mode 100644 index d8107173..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Warp.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4) -using UnityEngine.AI; -#endif - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNavMeshAgent -{ - [TaskCategory("Basic/NavMeshAgent")] - [TaskDescription("Warps agent to the provided position. Returns Success.")] - public class Warp : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The position to warp to")] - public SharedVector3 newPosition; - - // cache the navmeshagent component - private NavMeshAgent navMeshAgent; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - navMeshAgent = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (navMeshAgent == null) { - Debug.LogWarning("NavMeshAgent is null"); - return TaskStatus.Failure; - } - - navMeshAgent.Warp(newPosition.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - newPosition = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Warp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Warp.cs.meta deleted file mode 100644 index 8a6d4812..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/NavMeshAgent/Warp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9d2356bfaf0a64b4d9d65d32708630db -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network.meta deleted file mode 100644 index 7226ca30..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: 5c6c53ae71570844abe4d526c0f67273 -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsClient.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsClient.cs deleted file mode 100644 index a382f73b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsClient.cs +++ /dev/null @@ -1,12 +0,0 @@ -using UnityEngine.Networking; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNetwork -{ - public class IsClient : Conditional - { - public override TaskStatus OnUpdate() - { - return NetworkClient.active ? TaskStatus.Success : TaskStatus.Failure; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsClient.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsClient.cs.meta deleted file mode 100644 index 8e0dada2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsClient.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0762b2157086f9f43a3345a2afec412f -timeCreated: 1433120444 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsServer.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsServer.cs deleted file mode 100644 index 737b6f32..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsServer.cs +++ /dev/null @@ -1,12 +0,0 @@ -using UnityEngine.Networking; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityNetwork -{ - public class IsServer : Conditional - { - public override TaskStatus OnUpdate() - { - return NetworkServer.active ? TaskStatus.Success : TaskStatus.Failure; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsServer.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsServer.cs.meta deleted file mode 100644 index dc684d4e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Network/IsServer.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b7cf87bcdeb87b54698789a35a4b8ff0 -timeCreated: 1433120429 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem.meta deleted file mode 100644 index 2c1fd0b2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 298b24307673c7a49b5cabe1dbcae115 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Clear.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Clear.cs deleted file mode 100644 index 38988c82..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Clear.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Clear the Particle System.")] - public class Clear : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - particleSystem.Clear(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Clear.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Clear.cs.meta deleted file mode 100644 index 63db0e0c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Clear.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: de273e542591d5946a8728190438ae27 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetDuration.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetDuration.cs deleted file mode 100644 index 4ea0f3a3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetDuration.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Stores the duration of the Particle System.")] - public class GetDuration : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The duration of the ParticleSystem")] - [RequiredField] - public SharedFloat storeResult; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 - storeResult.Value = particleSystem.duration; -#else - storeResult.Value = particleSystem.main.duration; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetDuration.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetDuration.cs.meta deleted file mode 100644 index f41e7cee..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetDuration.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 02a4d610e82f1854c87701c4d51957fb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEmissionRate.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEmissionRate.cs deleted file mode 100644 index 740466e5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEmissionRate.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Stores the emission rate of the Particle System.")] - public class GetEmissionRate : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The emission rate of the ParticleSystem")] - [RequiredField] - public SharedFloat storeResult; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if !(UNITY_5_1 || UNITY_5_2) - Debug.Log("Warning: GetEmissionRate is not used in Unity 5.3 or later."); -#else - storeResult.Value = particleSystem.emissionRate; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEmissionRate.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEmissionRate.cs.meta deleted file mode 100644 index 1658d847..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEmissionRate.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3adb98115d27ec64da9b5f56391570be -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEnableEmission.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEnableEmission.cs deleted file mode 100644 index 2b6b57d2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEnableEmission.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Stores if the Particle System is emitting particles.")] - public class GetEnableEmission : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Is the Particle System emitting particles?")] - [RequiredField] - public SharedBool storeResult; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if !(UNITY_5_1 || UNITY_5_2) - storeResult.Value = particleSystem.emission.enabled; -#else - storeResult.Value = particleSystem.enableEmission; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeResult = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEnableEmission.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEnableEmission.cs.meta deleted file mode 100644 index e894a6e4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetEnableEmission.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 81dc1a241a2c872409a7919742df7581 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetGravityModifier.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetGravityModifier.cs deleted file mode 100644 index b5a97797..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetGravityModifier.cs +++ /dev/null @@ -1,47 +0,0 @@ -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Stores the gravity modifier of the Particle System.")] - public class GetGravityModifier : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The gravity modifier of the ParticleSystem")] - [RequiredField] - public SharedFloat storeResult; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - storeResult.Value = particleSystem.duration; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeResult = 0; - } - } -} -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetGravityModifier.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetGravityModifier.cs.meta deleted file mode 100644 index 3412f534..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetGravityModifier.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7001d2ab41ef4e64190afc7f9bce1876 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetLoop.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetLoop.cs deleted file mode 100644 index 5ee3b1de..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetLoop.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Stores if the Particle System should loop.")] - public class GetLoop : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Should the ParticleSystem loop?")] - [RequiredField] - public SharedBool storeResult; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 - storeResult.Value = particleSystem.loop; -#else - storeResult.Value = particleSystem.main.loop; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeResult = false; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetLoop.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetLoop.cs.meta deleted file mode 100644 index bfa703a0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetLoop.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 82f4ee8cf50887a4488fe6d0da18afc0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetMaxParticles.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetMaxParticles.cs deleted file mode 100644 index c53bbddd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetMaxParticles.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Stores the max particles of the Particle System.")] - public class GetMaxParticles : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The max particles of the ParticleSystem")] - [RequiredField] - public SharedFloat storeResult; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 - storeResult.Value = particleSystem.maxParticles; -#else - storeResult.Value = particleSystem.main.maxParticles; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeResult = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetMaxParticles.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetMaxParticles.cs.meta deleted file mode 100644 index 8e026028..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetMaxParticles.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 429771af65df81c49aaf4b34630473fe -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetParticleCount.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetParticleCount.cs deleted file mode 100644 index 06c4fe96..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetParticleCount.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Stores the particle count of the Particle System.")] - public class GetParticleCount : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The particle count of the ParticleSystem")] - [RequiredField] - public SharedFloat storeResult; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - storeResult.Value = particleSystem.particleCount; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetParticleCount.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetParticleCount.cs.meta deleted file mode 100644 index c1cfbc05..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetParticleCount.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f32e2ff9de4ff7b47a256ac3b51123c6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetPlaybackSpeed.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetPlaybackSpeed.cs deleted file mode 100644 index e23aac68..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetPlaybackSpeed.cs +++ /dev/null @@ -1,50 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Stores the playback speed of the Particle System.")] - public class GetPlaybackSpeed : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The playback speed of the ParticleSystem")] - [RequiredField] - public SharedFloat storeResult; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 - storeResult.Value = particleSystem.playbackSpeed; -#else - ParticleSystem.MainModule mainParticleSystem = particleSystem.main; - storeResult.Value = mainParticleSystem.simulationSpeed; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetPlaybackSpeed.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetPlaybackSpeed.cs.meta deleted file mode 100644 index 12e27063..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetPlaybackSpeed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f8f29f170ac706b498e7c933136d8036 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetTime.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetTime.cs deleted file mode 100644 index 315474d5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetTime.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Stores the time of the Particle System.")] - public class GetTime : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The time of the ParticleSystem")] - [RequiredField] - public SharedFloat storeResult; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - storeResult.Value = particleSystem.time; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetTime.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetTime.cs.meta deleted file mode 100644 index 0cd924dc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/GetTime.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9b15c7efbf98f7649adf8dd4474b0579 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsAlive.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsAlive.cs deleted file mode 100644 index 49f56b98..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsAlive.cs +++ /dev/null @@ -1,39 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Is the Particle System alive?")] - public class IsAlive : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - return particleSystem.IsAlive() ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsAlive.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsAlive.cs.meta deleted file mode 100644 index aa294a13..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsAlive.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3d554784e9a9fa040a2446402ba3f10e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPaused.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPaused.cs deleted file mode 100644 index d0180464..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPaused.cs +++ /dev/null @@ -1,39 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Is the Particle System paused?")] - public class IsPaused : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - return particleSystem.isPaused ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPaused.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPaused.cs.meta deleted file mode 100644 index 00a5c85f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPaused.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e4e9ab132f20dfa4095b3c90303ebf74 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPlaying.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPlaying.cs deleted file mode 100644 index ee9f9472..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPlaying.cs +++ /dev/null @@ -1,39 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Is the Particle System playing?")] - public class IsPlaying : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - return particleSystem.isPlaying ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPlaying.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPlaying.cs.meta deleted file mode 100644 index d3f13e4d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsPlaying.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 654b51e99f64bfb489e12866a569f00e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsStopped.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsStopped.cs deleted file mode 100644 index 39642507..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsStopped.cs +++ /dev/null @@ -1,39 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Is the Particle System stopped?")] - public class IsStopped : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - return particleSystem.isStopped ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsStopped.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsStopped.cs.meta deleted file mode 100644 index d0a054fb..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/IsStopped.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c719a7379c22b184380b4e63ccdfd064 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Pause.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Pause.cs deleted file mode 100644 index 496b2db5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Pause.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Pause the Particle System.")] - public class Pause : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - particleSystem.Pause(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Pause.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Pause.cs.meta deleted file mode 100644 index d6e60239..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Pause.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c9c9cc56691817b49af4fd1cfbc3e363 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Play.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Play.cs deleted file mode 100644 index 6797351c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Play.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Play the Particle System.")] - public class Play : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - particleSystem.Play(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Play.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Play.cs.meta deleted file mode 100644 index 276c73c4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Play.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a8ffb889d35074d4fb08d8502155c0b2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEmissionRate.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEmissionRate.cs deleted file mode 100644 index 2034a071..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEmissionRate.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Sets the emission rate of the Particle System.")] - public class SetEmissionRate : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The emission rate of the ParticleSystem")] - public SharedFloat emissionRate; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if !(UNITY_5_1 || UNITY_5_2) - Debug.Log("Warning: SetEmissionRate is not used in Unity 5.3 or later."); -#else - particleSystem.emissionRate = emissionRate.Value; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - emissionRate = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEmissionRate.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEmissionRate.cs.meta deleted file mode 100644 index ac56602a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEmissionRate.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a8300eee629ad77419f2eb91477a0b62 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEnableEmission.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEnableEmission.cs deleted file mode 100644 index eedcc59e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEnableEmission.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Enables or disables the Particle System emission.")] - public class SetEnableEmission : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Enable the ParticleSystem emissions?")] - public SharedBool enable; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if !(UNITY_5_1 || UNITY_5_2) - var emission = particleSystem.emission; - emission.enabled = enable.Value; -#else - particleSystem.enableEmission = enable.Value; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - enable = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEnableEmission.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEnableEmission.cs.meta deleted file mode 100644 index d5d77a69..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetEnableEmission.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f7c295b4d24628146a885d21bf699993 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetGravityModifier.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetGravityModifier.cs deleted file mode 100644 index e11dcd85..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetGravityModifier.cs +++ /dev/null @@ -1,46 +0,0 @@ -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Sets the gravity modifier of the Particle System.")] - public class SetGravityModifier : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The gravity modifier of the ParticleSystem")] - public SharedFloat gravityModifier; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - particleSystem.gravityModifier = gravityModifier.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - gravityModifier = 0; - } - } -} -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetGravityModifier.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetGravityModifier.cs.meta deleted file mode 100644 index 8337a101..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetGravityModifier.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c1a6694791042df4ea2097a2508bd8de -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetLoop.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetLoop.cs deleted file mode 100644 index 27e49635..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetLoop.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Sets if the Particle System should loop.")] - public class SetLoop : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Should the ParticleSystem loop?")] - public SharedBool loop; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 - particleSystem.loop = loop.Value; -#else - ParticleSystem.MainModule mainParticleSystem = particleSystem.main; - mainParticleSystem.loop = loop.Value; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - loop = false; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetLoop.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetLoop.cs.meta deleted file mode 100644 index 169ffad8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetLoop.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b9fa90adc0377cc4592de00e410a4060 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetMaxParticles.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetMaxParticles.cs deleted file mode 100644 index 705c7919..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetMaxParticles.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Sets the max particles of the Particle System.")] - public class SetMaxParticles : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The max particles of the ParticleSystem")] - public SharedInt maxParticles; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 - particleSystem.maxParticles = maxParticles.Value; -#else - ParticleSystem.MainModule mainParticleSystem = particleSystem.main; - mainParticleSystem.maxParticles = maxParticles.Value; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - maxParticles = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetMaxParticles.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetMaxParticles.cs.meta deleted file mode 100644 index 8549f671..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetMaxParticles.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: eadca930ad32a404886060ee43e4d802 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs deleted file mode 100644 index a520a196..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Sets the playback speed of the Particle System.")] - public class SetPlaybackSpeed : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The playback speed of the ParticleSystem")] - public SharedFloat playbackSpeed = 1; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 - particleSystem.playbackSpeed = playbackSpeed.Value; -#else - ParticleSystem.MainModule mainParticleSystem = particleSystem.main; - mainParticleSystem.simulationSpeed= playbackSpeed.Value; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - playbackSpeed = 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs.meta deleted file mode 100644 index 1c0afbdb..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8f4d79e34ac8820458a2813895d3962d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartColor.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartColor.cs deleted file mode 100644 index 498c96cc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartColor.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Sets the start color of the Particle System.")] - public class SetStartColor : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The start color of the ParticleSystem")] - public SharedColor startColor; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 - particleSystem.startColor = startColor.Value; -#else - ParticleSystem.MainModule mainParticleSystem = particleSystem.main; - mainParticleSystem.startColor = startColor.Value; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - startColor = Color.white; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartColor.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartColor.cs.meta deleted file mode 100644 index 12432173..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartColor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f91be163d0c01ec42bf120c267dcceea -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartDelay.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartDelay.cs deleted file mode 100644 index e11bcdb1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartDelay.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Sets the start delay of the Particle System.")] - public class SetStartDelay : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The start delay of the ParticleSystem")] - public SharedFloat startDelay; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 - particleSystem.startDelay = startDelay.Value; -#else - ParticleSystem.MainModule mainParticleSystem = particleSystem.main; - mainParticleSystem.startDelay = startDelay.Value; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - startDelay = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartDelay.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartDelay.cs.meta deleted file mode 100644 index fb4c01f5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartDelay.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 532026cf3b430c840897e66bdde5006e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartLifetime.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartLifetime.cs deleted file mode 100644 index 9246543a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartLifetime.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Sets the start lifetime of the Particle System.")] - public class SetStartLifetime : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The start lifetime of the ParticleSystem")] - public SharedFloat startLifetime; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 - particleSystem.startLifetime = startLifetime.Value; -#else - ParticleSystem.MainModule mainParticleSystem = particleSystem.main; - mainParticleSystem.startLifetime = startLifetime.Value; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - startLifetime = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartLifetime.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartLifetime.cs.meta deleted file mode 100644 index 361689aa..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartLifetime.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 311b9ed850b4e2243ae44487b9ece819 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartRotation.cs deleted file mode 100644 index 4cd78608..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartRotation.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Sets the start rotation of the Particle System.")] - public class SetStartRotation : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The start rotation of the ParticleSystem")] - public SharedFloat startRotation; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 - particleSystem.startRotation = startRotation.Value; -#else - ParticleSystem.MainModule mainParticleSystem = particleSystem.main; - mainParticleSystem.startRotation = startRotation.Value; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - startRotation = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartRotation.cs.meta deleted file mode 100644 index c995958e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ae611ab09913de6438aeb81d7a621c51 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSize.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSize.cs deleted file mode 100644 index 87dbbe39..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSize.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Sets the start size of the Particle System.")] - public class SetStartSize : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The start size of the ParticleSystem")] - public SharedFloat startSize; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 - particleSystem.startSize = startSize.Value; -#else - ParticleSystem.MainModule mainParticleSystem = particleSystem.main; - mainParticleSystem.startSize = startSize.Value; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - startSize = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSize.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSize.cs.meta deleted file mode 100644 index d697099c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSize.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d7be6a1da3f4f7a418e5739a6cc6e78e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSpeed.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSpeed.cs deleted file mode 100644 index 52bd8072..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSpeed.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Sets the start speed of the Particle System.")] - public class SetStartSpeed : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The start speed of the ParticleSystem")] - public SharedFloat startSpeed; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - -#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_4 - particleSystem.startSpeed = startSpeed.Value; -#else - ParticleSystem.MainModule mainParticleSystem = particleSystem.main; - mainParticleSystem.startSpeed = startSpeed.Value; -#endif - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - startSpeed = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSpeed.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSpeed.cs.meta deleted file mode 100644 index f87bf954..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetStartSpeed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b7716318475d3854a96729d1a7540d4a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetTime.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetTime.cs deleted file mode 100644 index 41f2e9eb..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetTime.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Sets the time of the Particle System.")] - public class SetTime : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The time of the ParticleSystem")] - public SharedFloat time; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - particleSystem.time = time.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - time = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetTime.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetTime.cs.meta deleted file mode 100644 index 2788eb15..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetTime.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 103e78e9c755fe3469e63115eb1c0d80 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Simulate.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Simulate.cs deleted file mode 100644 index fcf70cfb..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Simulate.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Simulate the Particle System.")] - public class Simulate : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Time to fastfoward the Particle System to")] - public SharedFloat time; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - particleSystem.Simulate(time.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - time = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Simulate.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Simulate.cs.meta deleted file mode 100644 index c703cb24..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Simulate.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 24d79d661acf61e44918320624b49dd5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Stop.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Stop.cs deleted file mode 100644 index 2ed84c15..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Stop.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem -{ - [TaskCategory("Basic/ParticleSystem")] - [TaskDescription("Stop the Particle System.")] - public class Stop : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private ParticleSystem particleSystem; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - particleSystem = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (particleSystem == null) { - Debug.LogWarning("ParticleSystem is null"); - return TaskStatus.Failure; - } - - particleSystem.Stop(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Stop.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Stop.cs.meta deleted file mode 100644 index 695ec19d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/Stop.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fd83617024d6bff44824a83b472db8e6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics.meta deleted file mode 100644 index ef52383d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: f029d04458be91f4d9b9bec1c9ccfde7 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Linecast.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Linecast.cs deleted file mode 100644 index fb82128e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Linecast.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPhysics -{ - [TaskCategory("Basic/Physics")] - [TaskDescription("Returns success if there is any collider intersecting the line between start and end")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=117")] - public class Linecast : Action - { - [Tooltip("The starting position of the linecast")] - SharedVector3 startPosition; - [Tooltip("The ending position of the linecast")] - SharedVector3 endPosition; - [Tooltip("Selectively ignore colliders.")] - public LayerMask layerMask = -1; - - public override TaskStatus OnUpdate() - { - return Physics.Linecast(startPosition.Value, endPosition.Value, layerMask) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - startPosition = Vector3.zero; - endPosition = Vector3.zero; - layerMask = -1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Linecast.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Linecast.cs.meta deleted file mode 100644 index c380726f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Linecast.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 163f5567b8906cd45adf138c3c022152 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Raycast.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Raycast.cs deleted file mode 100644 index d79c9ae9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Raycast.cs +++ /dev/null @@ -1,71 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPhysics -{ - [TaskCategory("Basic/Physics")] - [TaskDescription("Casts a ray against all colliders in the scene. Returns success if a collider was hit.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=117")] - public class Raycast : Action - { - [Tooltip("Starts the ray at the GameObject's position. If null the originPosition will be used")] - public SharedGameObject originGameObject; - [Tooltip("Starts the ray at the position. Only used if originGameObject is null")] - public SharedVector3 originPosition; - [Tooltip("The direction of the ray")] - public SharedVector3 direction; - [Tooltip("The length of the ray. Set to -1 for infinity")] - public SharedFloat distance = -1; - [Tooltip("Selectively ignore colliders")] - public LayerMask layerMask = -1; - [Tooltip("Cast the ray in world or local space. The direction is in world space if no GameObject is specified")] - public Space space = Space.Self; - - [SharedRequired] - [Tooltip("Stores the hit object of the raycast")] - public SharedGameObject storeHitObject; - [SharedRequired] - [Tooltip("Stores the hit point of the raycast")] - public SharedVector3 storeHitPoint; - [SharedRequired] - [Tooltip("Stores the hit normal of the raycast")] - public SharedVector3 storeHitNormal; - [SharedRequired] - [Tooltip("Stores the hit distance of the raycast")] - public SharedFloat storeHitDistance; - - 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.Value = hit.collider.gameObject; - storeHitPoint.Value = hit.point; - storeHitNormal.Value = hit.normal; - storeHitDistance.Value = hit.distance; - return TaskStatus.Success; - } - - return TaskStatus.Failure; - } - - public override void OnReset() - { - originGameObject = null; - originPosition = Vector3.zero; - direction = Vector3.zero; - distance = -1; - layerMask = -1; - space = Space.Self; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Raycast.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Raycast.cs.meta deleted file mode 100644 index b5f5d6d9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Raycast.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: afcf9d39edef45146ad7a043b8bfa76e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Spherecast.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Spherecast.cs deleted file mode 100644 index da1c646e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Spherecast.cs +++ /dev/null @@ -1,74 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPhysics -{ - [TaskCategory("Basic/Physics")] - [TaskDescription("Casts a sphere against all colliders in the scene. Returns success if a collider was hit.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=117")] - public class SphereCast : Action - { - [Tooltip("Starts the spherecast at the GameObject's position. If null the originPosition will be used")] - public SharedGameObject originGameObject; - [Tooltip("Starts the sherecast at the position. Only used if originGameObject is null")] - public SharedVector3 originPosition; - [Tooltip("The radius of the spherecast")] - public SharedFloat radius; - [Tooltip("The direction of the spherecast")] - public SharedVector3 direction; - [Tooltip("The length of the spherecast. Set to -1 for infinity")] - public SharedFloat distance = -1; - [Tooltip("Selectively ignore colliders")] - public LayerMask layerMask = -1; - [Tooltip("Use world or local space. The direction is in world space if no GameObject is specified")] - public Space space = Space.Self; - - [SharedRequired] - [Tooltip("Stores the hit object of the spherecast")] - public SharedGameObject storeHitObject; - [SharedRequired] - [Tooltip("Stores the hit point of the spherecast")] - public SharedVector3 storeHitPoint; - [SharedRequired] - [Tooltip("Stores the hit normal of the spherecast")] - public SharedVector3 storeHitNormal; - [SharedRequired] - [Tooltip("Stores the hit distance of the spherecast")] - public SharedFloat storeHitDistance; - - 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.SphereCast(position, radius.Value, dir, out hit, distance.Value == -1 ? Mathf.Infinity : distance.Value, layerMask)) { - storeHitObject.Value = hit.collider.gameObject; - storeHitPoint.Value = hit.point; - storeHitNormal.Value = hit.normal; - storeHitDistance.Value = hit.distance; - return TaskStatus.Success; - } - - return TaskStatus.Failure; - } - - public override void OnReset() - { - originGameObject = null; - originPosition = Vector3.zero; - radius = 0; - direction = Vector3.zero; - distance = -1; - layerMask = -1; - space = Space.Self; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Spherecast.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Spherecast.cs.meta deleted file mode 100644 index 24ed1701..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics/Spherecast.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2058f3f94c5bdf5409f9ff80ea61d44a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D.meta deleted file mode 100644 index 001ba091..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 056a8d0f58dcb4749949548a468e90c0 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Circlecast.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Circlecast.cs deleted file mode 100644 index 516abc72..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Circlecast.cs +++ /dev/null @@ -1,73 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPhysics2D -{ - [TaskCategory("Basic/Physics2D")] - [TaskDescription("Casts a circle against all colliders in the scene. Returns success if a collider was hit.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=118")] - public class Circlecast : Action - { - [Tooltip("Starts the circlecast at the GameObject's position. If null the originPosition will be used.")] - public SharedGameObject originGameObject; - [Tooltip("Starts the circlecast at the position. Only used if originGameObject is null.")] - public SharedVector2 originPosition; - [Tooltip("The radius of the circlecast")] - public SharedFloat radius; - [Tooltip("The direction of the circlecast")] - public SharedVector2 direction; - [Tooltip("The length of the ray. Set to -1 for infinity.")] - public SharedFloat distance = -1; - [Tooltip("Selectively ignore colliders.")] - public LayerMask layerMask = -1; - [Tooltip("Use world or local space. The direction is in world space if no GameObject is specified.")] - public Space space = Space.Self; - - [SharedRequired] - [Tooltip("Stores the hit object of the circlecast.")] - public SharedGameObject storeHitObject; - [SharedRequired] - [Tooltip("Stores the hit point of the circlecast.")] - public SharedVector2 storeHitPoint; - [SharedRequired] - [Tooltip("Stores the hit normal of the circlecast.")] - public SharedVector2 storeHitNormal; - [SharedRequired] - [Tooltip("Stores the hit distance of the circlecast.")] - public SharedFloat storeHitDistance; - - public override TaskStatus OnUpdate() - { - Vector2 position; - Vector2 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; - } - - var hit = Physics2D.CircleCast(position, radius.Value, dir, distance.Value == -1 ? Mathf.Infinity : distance.Value, layerMask); - if (hit.collider != null) { - storeHitObject.Value = hit.collider.gameObject; - storeHitPoint.Value = hit.point; - storeHitNormal.Value = hit.normal; - storeHitDistance.Value = hit.distance; - return TaskStatus.Success; - } - return TaskStatus.Failure; - } - - public override void OnReset() - { - originGameObject = null; - originPosition = Vector2.zero; - direction = Vector2.zero; - radius = 0; - distance = -1; - layerMask = -1; - space = Space.Self; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Circlecast.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Circlecast.cs.meta deleted file mode 100644 index 541b96a0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Circlecast.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6989aa8730764ee459a07f88d84302e0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Linecast.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Linecast.cs deleted file mode 100644 index 914b6fee..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Linecast.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPhysics2D -{ - [TaskCategory("Basic/Physics2D")] - [TaskDescription("Returns success if there is any collider intersecting the line between start and end")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=118")] - public class Linecast : Action - { - [Tooltip("The starting position of the linecast.")] - SharedVector2 startPosition; - [Tooltip("The ending position of the linecast.")] - SharedVector2 endPosition; - [Tooltip("Selectively ignore colliders.")] - public LayerMask layerMask = -1; - - public override TaskStatus OnUpdate() - { - return Physics2D.Linecast(startPosition.Value, endPosition.Value, layerMask) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - startPosition = Vector2.zero; - endPosition = Vector2.zero; - layerMask = -1; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Linecast.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Linecast.cs.meta deleted file mode 100644 index 6aa9170f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Linecast.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a402dbfe872764f49b3a03d7048e866e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Raycast.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Raycast.cs deleted file mode 100644 index 2bc51b80..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Raycast.cs +++ /dev/null @@ -1,72 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPhysics2D -{ - [TaskCategory("Basic/Physics2D")] - [TaskDescription("Casts a ray against all colliders in the scene. Returns success if a collider was hit.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=118")] - public class Raycast : Action - { - [Tooltip("Starts the ray at the GameObject's position. If null the originPosition will be used.")] - public SharedGameObject originGameObject; - [Tooltip("Starts the ray at the position. Only used if originGameObject is null.")] - public SharedVector2 originPosition; - [Tooltip("The direction of the ray")] - public SharedVector2 direction; - [Tooltip("The length of the ray. Set to -1 for infinity.")] - public SharedFloat distance = -1; - [Tooltip("Selectively ignore colliders.")] - public LayerMask layerMask = -1; - [Tooltip("Cast the ray in world or local space. The direction is in world space if no GameObject is specified.")] - public Space space = Space.Self; - - [SharedRequired] - [Tooltip("Stores the hit object of the raycast.")] - public SharedGameObject storeHitObject; - [SharedRequired] - [Tooltip("Stores the hit point of the raycast.")] - public SharedVector2 storeHitPoint; - [SharedRequired] - [Tooltip("Stores the hit normal of the raycast.")] - public SharedVector2 storeHitNormal; - [SharedRequired] - [Tooltip("Stores the hit distance of the raycast.")] - public SharedFloat storeHitDistance; - - public override TaskStatus OnUpdate() - { - Vector2 position; - Vector2 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; - } - - var hit = Physics2D.Raycast(position, dir, distance.Value == -1 ? Mathf.Infinity : distance.Value, layerMask); - if (hit.collider != null) { - storeHitObject.Value = hit.collider.gameObject; - storeHitPoint.Value = hit.point; - storeHitNormal.Value = hit.normal; -#if !UNITY_4_3 - storeHitDistance.Value = hit.distance; -#endif - return TaskStatus.Success; - } - return TaskStatus.Failure; - } - - public override void OnReset() - { - originGameObject = null; - originPosition = Vector2.zero; - direction = Vector2.zero; - distance = -1; - layerMask = -1; - space = Space.Self; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Raycast.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Raycast.cs.meta deleted file mode 100644 index f2f98446..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Physics2D/Raycast.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 513dc641bb68bcc4d9c3bdfb1ccc57b6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs.meta deleted file mode 100644 index f2ebde67..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: ae97053a4ac34f74d8edc5c635b28bda -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteAll.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteAll.cs deleted file mode 100644 index 0562303f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteAll.cs +++ /dev/null @@ -1,16 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPlayerPrefs -{ - [TaskCategory("Basic/PlayerPrefs")] - [TaskDescription("Deletes all entries from the PlayerPrefs.")] - public class DeleteAll : Action - { - public override TaskStatus OnUpdate() - { - PlayerPrefs.DeleteAll(); - - return TaskStatus.Success; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteAll.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteAll.cs.meta deleted file mode 100644 index 707b849e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteAll.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0c6d6b2dabc08ac42875cdbe1f86642b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteKey.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteKey.cs deleted file mode 100644 index 8fc4c352..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteKey.cs +++ /dev/null @@ -1,24 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPlayerPrefs -{ - [TaskCategory("Basic/PlayerPrefs")] - [TaskDescription("Deletes the specified key from the PlayerPrefs.")] - public class DeleteKey : Action - { - [Tooltip("The key to delete")] - public SharedString key; - - public override TaskStatus OnUpdate() - { - PlayerPrefs.DeleteKey(key.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - key = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteKey.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteKey.cs.meta deleted file mode 100644 index 4f322aea..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/DeleteKey.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ed24098bd046f724e90474d47e1677d3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetFloat.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetFloat.cs deleted file mode 100644 index 839980b5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetFloat.cs +++ /dev/null @@ -1,31 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPlayerPrefs -{ - [TaskCategory("Basic/PlayerPrefs")] - [TaskDescription("Stores the value with the specified key from the PlayerPrefs.")] - public class GetFloat : Action - { - [Tooltip("The key to store")] - public SharedString key; - [Tooltip("The default value")] - public SharedFloat defaultValue; - [Tooltip("The value retrieved from the PlayerPrefs")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = PlayerPrefs.GetFloat(key.Value, defaultValue.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - key = ""; - defaultValue = 0; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetFloat.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetFloat.cs.meta deleted file mode 100644 index 1252e252..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetFloat.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 14752e1987d17d546838a32459045c67 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetInt.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetInt.cs deleted file mode 100644 index 3dca7702..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetInt.cs +++ /dev/null @@ -1,31 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPlayerPrefs -{ - [TaskCategory("Basic/PlayerPrefs")] - [TaskDescription("Stores the value with the specified key from the PlayerPrefs.")] - public class GetInt : Action - { - [Tooltip("The key to store")] - public SharedString key; - [Tooltip("The default value")] - public SharedInt defaultValue; - [Tooltip("The value retrieved from the PlayerPrefs")] - [RequiredField] - public SharedInt storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = PlayerPrefs.GetInt(key.Value, defaultValue.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - key = ""; - defaultValue = 0; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetInt.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetInt.cs.meta deleted file mode 100644 index 6e1a400d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetInt.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 66c5c9cfd0fb52344875db0cefc5d6f8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetString.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetString.cs deleted file mode 100644 index a3d98a97..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetString.cs +++ /dev/null @@ -1,31 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPlayerPrefs -{ - [TaskCategory("Basic/PlayerPrefs")] - [TaskDescription("Stores the value with the specified key from the PlayerPrefs.")] - public class GetString : Action - { - [Tooltip("The key to store")] - public SharedString key; - [Tooltip("The default value")] - public SharedString defaultValue; - [Tooltip("The value retrieved from the PlayerPrefs")] - [RequiredField] - public SharedString storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = PlayerPrefs.GetString(key.Value, defaultValue.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - key = ""; - defaultValue = ""; - storeResult = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetString.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetString.cs.meta deleted file mode 100644 index 155d968b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/GetString.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 418066da4d19f1742a6435c0ee7aa01b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/HasKey.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/HasKey.cs deleted file mode 100644 index 2983fc05..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/HasKey.cs +++ /dev/null @@ -1,22 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPlayerPrefs -{ - [TaskCategory("Basic/PlayerPrefs")] - [TaskDescription("Retruns success if the specified key exists.")] - public class HasKey : Conditional - { - [Tooltip("The key to check")] - public SharedString key; - - public override TaskStatus OnUpdate() - { - return PlayerPrefs.HasKey(key.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - key = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/HasKey.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/HasKey.cs.meta deleted file mode 100644 index 49883dfe..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/HasKey.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3b16fab74ec9f364f911696814716ca2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/Save.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/Save.cs deleted file mode 100644 index 627fe81a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/Save.cs +++ /dev/null @@ -1,16 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPlayerPrefs -{ - [TaskCategory("Basic/PlayerPrefs")] - [TaskDescription("Saves the PlayerPrefs.")] - public class Save : Action - { - public override TaskStatus OnUpdate() - { - PlayerPrefs.Save(); - - return TaskStatus.Success; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/Save.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/Save.cs.meta deleted file mode 100644 index a03bd8c4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/Save.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 898765f1bc90e154e9cab895a814221e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetFloat.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetFloat.cs deleted file mode 100644 index 69b578ca..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetFloat.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPlayerPrefs -{ - [TaskCategory("Basic/PlayerPrefs")] - [TaskDescription("Sets the value with the specified key from the PlayerPrefs.")] - public class SetFloat : Action - { - [Tooltip("The key to store")] - public SharedString key; - [Tooltip("The value to set")] - public SharedFloat value; - - public override TaskStatus OnUpdate() - { - PlayerPrefs.SetFloat(key.Value, value.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - key = ""; - value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetFloat.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetFloat.cs.meta deleted file mode 100644 index 87a00ef2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetFloat.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 88feec854545b9b428ed714fbebe872f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetInt.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetInt.cs deleted file mode 100644 index 3e41760f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetInt.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPlayerPrefs -{ - [TaskCategory("Basic/PlayerPrefs")] - [TaskDescription("Sets the value with the specified key from the PlayerPrefs.")] - public class SetInt : Action - { - [Tooltip("The key to store")] - public SharedString key; - [Tooltip("The value to set")] - public SharedInt value; - - public override TaskStatus OnUpdate() - { - PlayerPrefs.SetInt(key.Value, value.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - key = ""; - value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetInt.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetInt.cs.meta deleted file mode 100644 index c9920342..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetInt.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ad23859aa9f9e68468891ba9600b9828 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetString.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetString.cs deleted file mode 100644 index 69426c56..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetString.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityPlayerPrefs -{ - [TaskCategory("Basic/PlayerPrefs")] - [TaskDescription("Sets the value with the specified key from the PlayerPrefs.")] - public class SetString : Action - { - [Tooltip("The key to store")] - public SharedString key; - [Tooltip("The value to set")] - public SharedString value; - - public override TaskStatus OnUpdate() - { - PlayerPrefs.SetString(key.Value, value.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - key = ""; - value = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetString.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetString.cs.meta deleted file mode 100644 index bb989dbd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/PlayerPrefs/SetString.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 923ae6162a2661e47be9af80a19e48b6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion.meta deleted file mode 100644 index 8e62c708..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: fdfca1ec6223a5644919a38e092a933c -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Angle.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Angle.cs deleted file mode 100644 index a6e485ef..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Angle.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityQuaternion -{ - [TaskCategory("Basic/Quaternion")] - [TaskDescription("Stores the angle in degrees between two rotations.")] - public class Angle : Action - { - [Tooltip("The first rotation")] - public SharedQuaternion firstRotation; - [Tooltip("The second rotation")] - public SharedQuaternion secondRotation; - [Tooltip("The stored result")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Quaternion.Angle(firstRotation.Value, secondRotation.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - firstRotation = secondRotation = Quaternion.identity; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Angle.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Angle.cs.meta deleted file mode 100644 index 0aa20992..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Angle.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0d316a25dcddd6f4a981df05a1eeaf7c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/AngleAxis.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/AngleAxis.cs deleted file mode 100644 index 4c6eecf9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/AngleAxis.cs +++ /dev/null @@ -1,30 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityQuaternion -{ - [TaskCategory("Basic/Quaternion")] - [TaskDescription("Stores the rotation which rotates the specified degrees around the specified axis.")] - public class AngleAxis : Action - { - [Tooltip("The number of degrees")] - public SharedFloat degrees; - [Tooltip("The axis direction")] - public SharedVector3 axis; - [Tooltip("The stored result")] - [RequiredField] - public SharedQuaternion storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Quaternion.AngleAxis(degrees.Value, axis.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - degrees = 0; - axis = Vector3.zero; - storeResult = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/AngleAxis.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/AngleAxis.cs.meta deleted file mode 100644 index 99c4ba7b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/AngleAxis.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 82152b844829f8f43ab44f35bf7d786f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Dot.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Dot.cs deleted file mode 100644 index d00fa95b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Dot.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityQuaternion -{ - [TaskCategory("Basic/Quaternion")] - [TaskDescription("Stores the dot product between two rotations.")] - public class Dot : Action - { - [Tooltip("The first rotation")] - public SharedQuaternion leftRotation; - [Tooltip("The second rotation")] - public SharedQuaternion rightRotation; - [Tooltip("The stored result")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Quaternion.Dot(leftRotation.Value, rightRotation.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - leftRotation = rightRotation = Quaternion.identity; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Dot.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Dot.cs.meta deleted file mode 100644 index 40a00107..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Dot.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fa9235523569d574aa7d22ce89423eca -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Euler.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Euler.cs deleted file mode 100644 index e9930832..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Euler.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityQuaternion -{ - [TaskCategory("Basic/Quaternion")] - [TaskDescription("Stores the quaternion of a euler vector.")] - public class Euler : Action - { - [Tooltip("The euler vector")] - public SharedVector3 eulerVector; - [Tooltip("The stored quaternion")] - [RequiredField] - public SharedQuaternion storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Quaternion.Euler(eulerVector.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - eulerVector = Vector3.zero; - storeResult = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Euler.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Euler.cs.meta deleted file mode 100644 index 048cc76c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Euler.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b4d275b4450a324409ace385a718d9ee -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/FromToRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/FromToRotation.cs deleted file mode 100644 index 5e68b434..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/FromToRotation.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityQuaternion -{ - [TaskCategory("Basic/Quaternion")] - [TaskDescription("Stores a rotation which rotates from the first direction to the second.")] - public class FromToRotation : Action - { - [Tooltip("The from rotation")] - public SharedVector3 fromDirection; - [Tooltip("The to rotation")] - public SharedVector3 toDirection; - [Tooltip("The stored result")] - [RequiredField] - public SharedQuaternion storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Quaternion.FromToRotation(fromDirection.Value, toDirection.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - fromDirection = toDirection = Vector3.zero; - storeResult = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/FromToRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/FromToRotation.cs.meta deleted file mode 100644 index d5836cfa..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/FromToRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 56740b2c218d500408dd75c6c15006ec -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Identity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Identity.cs deleted file mode 100644 index 5c8c104a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Identity.cs +++ /dev/null @@ -1,24 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityQuaternion -{ - [TaskCategory("Basic/Quaternion")] - [TaskDescription("Stores the quaternion identity.")] - public class Identity : Action - { - [Tooltip("The identity")] - [RequiredField] - public SharedQuaternion storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Quaternion.identity; - return TaskStatus.Success; - } - - public override void OnReset() - { - storeResult = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Identity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Identity.cs.meta deleted file mode 100644 index e8968d73..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Identity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f4eefb6e25898904688a422ca79d763c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Inverse.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Inverse.cs deleted file mode 100644 index e0085ded..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Inverse.cs +++ /dev/null @@ -1,26 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityQuaternion -{ - [TaskCategory("Basic/Quaternion")] - [TaskDescription("Stores the inverse of the specified quaternion.")] - public class Inverse : Action - { - [Tooltip("The target quaternion")] - public SharedQuaternion targetQuaternion; - [Tooltip("The stored quaternion")] - [RequiredField] - public SharedQuaternion storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Quaternion.Inverse(targetQuaternion.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - targetQuaternion = storeResult = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Inverse.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Inverse.cs.meta deleted file mode 100644 index e255f8bf..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Inverse.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ab8f5048bc0e5ce409bf3408c60bc3eb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Lerp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Lerp.cs deleted file mode 100644 index faea9019..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Lerp.cs +++ /dev/null @@ -1,31 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityQuaternion -{ - [TaskCategory("Basic/Quaternion")] - [TaskDescription("Lerps between two quaternions.")] - public class Lerp : Action - { - [Tooltip("The from rotation")] - public SharedQuaternion fromQuaternion; - [Tooltip("The to rotation")] - public SharedQuaternion toQuaternion; - [Tooltip("The amount to lerp")] - public SharedFloat amount; - [Tooltip("The stored result")] - [RequiredField] - public SharedQuaternion storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Quaternion.Lerp(fromQuaternion.Value, toQuaternion.Value, amount.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - fromQuaternion = toQuaternion = storeResult = Quaternion.identity; - amount = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Lerp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Lerp.cs.meta deleted file mode 100644 index 4711a2b8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Lerp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fb19d83a245337542a5c0f02593e8dab -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/LookRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/LookRotation.cs deleted file mode 100644 index 8e8bf5ab..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/LookRotation.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityQuaternion -{ - [TaskCategory("Basic/Quaternion")] - [TaskDescription("Stores the quaternion of a forward vector.")] - public class LookRotation : Action - { - [Tooltip("The forward vector")] - public SharedVector3 forwardVector; - [Tooltip("The second Vector3")] - public SharedVector3 secondVector3; - [Tooltip("The stored quaternion")] - [RequiredField] - public SharedQuaternion storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Quaternion.LookRotation(forwardVector.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - forwardVector = Vector3.zero; - storeResult = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/LookRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/LookRotation.cs.meta deleted file mode 100644 index b58cb08b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/LookRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e006fb91f87854448b9bd6cb1d20b2f1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/RotateTowards.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/RotateTowards.cs deleted file mode 100644 index 77975891..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/RotateTowards.cs +++ /dev/null @@ -1,31 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityQuaternion -{ - [TaskCategory("Basic/Quaternion")] - [TaskDescription("Stores the quaternion after a rotation.")] - public class RotateTowards : Action - { - [Tooltip("The from rotation")] - public SharedQuaternion fromQuaternion; - [Tooltip("The to rotation")] - public SharedQuaternion toQuaternion; - [Tooltip("The maximum degrees delta")] - public SharedFloat maxDeltaDegrees; - [Tooltip("The stored result")] - [RequiredField] - public SharedQuaternion storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Quaternion.RotateTowards(fromQuaternion.Value, toQuaternion.Value, maxDeltaDegrees.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - fromQuaternion = toQuaternion = storeResult = Quaternion.identity; - maxDeltaDegrees = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/RotateTowards.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/RotateTowards.cs.meta deleted file mode 100644 index 4a037c77..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/RotateTowards.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b5e043a106ab4784aab997fa0e27f972 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Slerp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Slerp.cs deleted file mode 100644 index 88cac7e6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Slerp.cs +++ /dev/null @@ -1,31 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityQuaternion -{ - [TaskCategory("Basic/Quaternion")] - [TaskDescription("Spherically lerp between two quaternions.")] - public class Slerp : Action - { - [Tooltip("The from rotation")] - public SharedQuaternion fromQuaternion; - [Tooltip("The to rotation")] - public SharedQuaternion toQuaternion; - [Tooltip("The amount to lerp")] - public SharedFloat amount; - [Tooltip("The stored result")] - [RequiredField] - public SharedQuaternion storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Quaternion.Slerp(fromQuaternion.Value, toQuaternion.Value, amount.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - fromQuaternion = toQuaternion = storeResult = Quaternion.identity; - amount = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Slerp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Slerp.cs.meta deleted file mode 100644 index 6e1d7577..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Quaternion/Slerp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b36eacb0f1a46624193a622ef50979ff -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer.meta deleted file mode 100644 index 700baf06..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: b7bee06bd6fde844784243b656f96db8 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/IsVisible.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/IsVisible.cs deleted file mode 100644 index b0e6df91..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/IsVisible.cs +++ /dev/null @@ -1,40 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRenderer -{ - [TaskCategory("Basic/Renderer")] - [TaskDescription("Returns Success if the Renderer is visible, otherwise Failure.")] - public class IsVisible : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - // cache the renderer component - private Renderer renderer; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - renderer = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (renderer == null) { - Debug.LogWarning("Renderer is null"); - return TaskStatus.Failure; - } - - return renderer.isVisible ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/IsVisible.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/IsVisible.cs.meta deleted file mode 100644 index da61b0d5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/IsVisible.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3b6ba7f7e8884c14c9ef4a74b50b0a8e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/SetMaterial.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/SetMaterial.cs deleted file mode 100644 index e6ebbb37..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/SetMaterial.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRenderer -{ - [TaskCategory("Basic/Renderer")] - [TaskDescription("Sets the material on the Renderer.")] - public class SetMaterial : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The material to set")] - public SharedMaterial material; - - // cache the renderer component - private Renderer renderer; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - renderer = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (renderer == null) { - Debug.LogWarning("Renderer is null"); - return TaskStatus.Failure; - } - - renderer.material = material.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - material = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/SetMaterial.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/SetMaterial.cs.meta deleted file mode 100644 index b77ae7d1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Renderer/SetMaterial.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bf71e4b9292cad342877356107f76d39 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody.meta deleted file mode 100644 index fdb14dec..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: f560fb42f946dcb4a819c0cca91d9c9d -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddExplosionForce.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddExplosionForce.cs deleted file mode 100644 index 2d313eb4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddExplosionForce.cs +++ /dev/null @@ -1,57 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Applies a force to the rigidbody that simulates explosion effects. Returns Success.")] - public class AddExplosionForce : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The force of the explosion")] - public SharedFloat explosionForce; - [Tooltip("The position of the explosion")] - public SharedVector3 explosionPosition; - [Tooltip("The radius of the explosion")] - public SharedFloat explosionRadius; - [Tooltip("Applies the force as if it was applied from beneath the object")] - public float upwardsModifier = 0; - [Tooltip("The type of force")] - public ForceMode forceMode = ForceMode.Force; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.AddExplosionForce(explosionForce.Value, explosionPosition.Value, explosionRadius.Value, upwardsModifier, forceMode); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - explosionForce = 0; - explosionPosition = Vector3.zero; - explosionRadius = 0; - upwardsModifier = 0; - forceMode = ForceMode.Force; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddExplosionForce.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddExplosionForce.cs.meta deleted file mode 100644 index 46e4e7f6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddExplosionForce.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ccb592e850d4c734995a2a1c3f930b62 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForce.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForce.cs deleted file mode 100644 index 9e7ff1a9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForce.cs +++ /dev/null @@ -1,51 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [RequiredComponent(typeof(Rigidbody))] - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Applies a force to the rigidbody. Returns Success.")] - public class AddForce : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The amount of force to apply")] - public SharedVector3 force; - [Tooltip("The type of force")] - public ForceMode forceMode = ForceMode.Force; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.AddForce(force.Value, forceMode); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - if (force != null) { - force.Value = Vector3.zero; - } - forceMode = ForceMode.Force; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForce.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForce.cs.meta deleted file mode 100644 index 2ff832db..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForce.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5748d4214b99b8c49ba67902a8495a30 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForceAtPosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForceAtPosition.cs deleted file mode 100644 index c76f34c1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForceAtPosition.cs +++ /dev/null @@ -1,51 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Applies a force at the specified position to the rigidbody. Returns Success.")] - public class AddForceAtPosition : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The amount of force to apply")] - public SharedVector3 force; - [Tooltip("The position of the force")] - public SharedVector3 position; - [Tooltip("The type of force")] - public ForceMode forceMode = ForceMode.Force; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.AddForceAtPosition(force.Value, position.Value, forceMode); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - force = Vector3.zero; - position = Vector3.zero; - forceMode = ForceMode.Force; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForceAtPosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForceAtPosition.cs.meta deleted file mode 100644 index e299a9ba..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddForceAtPosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c3938bcd4e88b45419aa86adee51a2c2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeForce.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeForce.cs deleted file mode 100644 index 57e1a9d2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeForce.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Applies a force to the rigidbody relative to its coordinate system. Returns Success.")] - public class AddRelativeForce : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The amount of force to apply")] - public SharedVector3 force; - [Tooltip("The type of force")] - public ForceMode forceMode = ForceMode.Force; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.AddRelativeForce(force.Value, forceMode); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - force = Vector3.zero; - forceMode = ForceMode.Force; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeForce.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeForce.cs.meta deleted file mode 100644 index be56eac2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeForce.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1de05a2b6197b2d4b9da1c36bf382649 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeTorque.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeTorque.cs deleted file mode 100644 index ec901665..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeTorque.cs +++ /dev/null @@ -1,43 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Applies a torque to the rigidbody relative to its coordinate system. Returns Success.")] - public class AddRelativeTorque : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The amount of torque to apply")] - public SharedVector3 torque; - [Tooltip("The type of torque")] - public ForceMode forceMode = ForceMode.Force; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - rigidbody.AddRelativeTorque(torque.Value, forceMode); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - torque = Vector3.zero; - forceMode = ForceMode.Force; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeTorque.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeTorque.cs.meta deleted file mode 100644 index 3bba15eb..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddRelativeTorque.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 71136c1193309b24c93d450b5f2e47be -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddTorque.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddTorque.cs deleted file mode 100644 index 35282d09..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddTorque.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Applies a torque to the rigidbody. Returns Success.")] - public class AddTorque : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The amount of torque to apply")] - public SharedVector3 torque; - [Tooltip("The type of torque")] - public ForceMode forceMode = ForceMode.Force; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.AddTorque(torque.Value, forceMode); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - torque = Vector3.zero; - forceMode = ForceMode.Force; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddTorque.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddTorque.cs.meta deleted file mode 100644 index 4e6e47c3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/AddTorque.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 88c726c1cb324e6429637f55d36c3d01 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularDrag.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularDrag.cs deleted file mode 100644 index 9aed491c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularDrag.cs +++ /dev/null @@ -1,46 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Stores the angular drag of the Rigidbody. Returns Success.")] - public class GetAngularDrag : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The angular drag of the Rigidbody")] - [RequiredField] - public SharedFloat storeValue; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody.angularDrag; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularDrag.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularDrag.cs.meta deleted file mode 100644 index f82dda03..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularDrag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5fb34b334a02db64db2d6a2fb2448be5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularVelocity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularVelocity.cs deleted file mode 100644 index 556f52e1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularVelocity.cs +++ /dev/null @@ -1,46 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Stores the angular velocity of the Rigidbody. Returns Success.")] - public class GetAngularVelocity : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The angular velocity of the Rigidbody")] - [RequiredField] - public SharedVector3 storeValue; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody.angularVelocity; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularVelocity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularVelocity.cs.meta deleted file mode 100644 index c4f98927..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetAngularVelocity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 492dc3a13d07ed149bcd19d36e2f7ee7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetCenterOfMass.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetCenterOfMass.cs deleted file mode 100644 index 59c7429c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetCenterOfMass.cs +++ /dev/null @@ -1,46 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Stores the center of mass of the Rigidbody. Returns Success.")] - public class GetCenterOfMass : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The center of mass of the Rigidbody")] - [RequiredField] - public SharedVector3 storeValue; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody.centerOfMass; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetCenterOfMass.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetCenterOfMass.cs.meta deleted file mode 100644 index 8c175632..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetCenterOfMass.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b993020e1d60f5242a7e3618501f871e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetDrag.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetDrag.cs deleted file mode 100644 index 423e79b0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetDrag.cs +++ /dev/null @@ -1,46 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Stores the drag of the Rigidbody. Returns Success.")] - public class GetDrag : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The drag of the Rigidbody")] - [RequiredField] - public SharedFloat storeValue; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody.drag; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetDrag.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetDrag.cs.meta deleted file mode 100644 index ab90b18b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetDrag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 69bd087f6899c604f82441b108ead2a8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetFreezeRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetFreezeRotation.cs deleted file mode 100644 index 0a26f2c1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetFreezeRotation.cs +++ /dev/null @@ -1,46 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Stores the freeze rotation value of the Rigidbody. Returns Success.")] - public class GetFreezeRotation : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The freeze rotation value of the Rigidbody")] - [RequiredField] - public SharedBool storeValue; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody.freezeRotation; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetFreezeRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetFreezeRotation.cs.meta deleted file mode 100644 index dad7aad7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetFreezeRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 889065cfad95df04a802761fcccb8359 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetIsKinematic.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetIsKinematic.cs deleted file mode 100644 index ee981ed7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetIsKinematic.cs +++ /dev/null @@ -1,46 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Stores the is kinematic value of the Rigidbody. Returns Success.")] - public class GetIsKinematic : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The is kinematic value of the Rigidbody")] - [RequiredField] - public SharedBool storeValue; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody.isKinematic; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetIsKinematic.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetIsKinematic.cs.meta deleted file mode 100644 index 0bef7e35..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetIsKinematic.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a531151d14b8a9640be8d499d9db4538 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetMass.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetMass.cs deleted file mode 100644 index 62d0138b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetMass.cs +++ /dev/null @@ -1,46 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Stores the mass of the Rigidbody. Returns Success.")] - public class GetMass : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The mass of the Rigidbody")] - [RequiredField] - public SharedFloat storeValue; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody.mass; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetMass.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetMass.cs.meta deleted file mode 100644 index 71b86955..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetMass.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2638ca749ba5a404f84fd72811b16c81 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetPosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetPosition.cs deleted file mode 100644 index 9f4dc201..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetPosition.cs +++ /dev/null @@ -1,46 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Stores the position of the Rigidbody. Returns Success.")] - public class GetPosition : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The position of the Rigidbody")] - [RequiredField] - public SharedVector3 storeValue; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody.position; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetPosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetPosition.cs.meta deleted file mode 100644 index 732ae424..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetPosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 25f9090c180831b4daaa1a24894681ac -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetRotation.cs deleted file mode 100644 index 53d4101f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetRotation.cs +++ /dev/null @@ -1,46 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Stores the rotation of the Rigidbody. Returns Success.")] - public class GetRotation : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The rotation of the Rigidbody")] - [RequiredField] - public SharedQuaternion storeValue; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody.rotation; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetRotation.cs.meta deleted file mode 100644 index 539000a1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 937400bc82220b543aa9b3074f17f4d6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetUseGravity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetUseGravity.cs deleted file mode 100644 index dc20ef51..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetUseGravity.cs +++ /dev/null @@ -1,46 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Stores the use gravity value of the Rigidbody. Returns Success.")] - public class GetUseGravity : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The use gravity value of the Rigidbody")] - [RequiredField] - public SharedBool storeValue; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody.useGravity; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetUseGravity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetUseGravity.cs.meta deleted file mode 100644 index ab211284..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetUseGravity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1d7358afc7810ca4aa2ae8a2cd4b9e6e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetVelocity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetVelocity.cs deleted file mode 100644 index de66c4ad..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetVelocity.cs +++ /dev/null @@ -1,46 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Stores the velocity of the Rigidbody. Returns Success.")] - public class GetVelocity : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The velocity of the Rigidbody")] - [RequiredField] - public SharedVector3 storeValue; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody.velocity; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetVelocity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetVelocity.cs.meta deleted file mode 100644 index 62f5920f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/GetVelocity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9c18365eb6865164ebb5b0057dcc6bb4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsKinematic.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsKinematic.cs deleted file mode 100644 index 1144ea46..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsKinematic.cs +++ /dev/null @@ -1,40 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Returns Success if the Rigidbody is kinematic, otherwise Failure.")] - public class IsKinematic : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - return rigidbody.isKinematic ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsKinematic.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsKinematic.cs.meta deleted file mode 100644 index ec59f524..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsKinematic.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 30be28b36412643418c2e61640147eac -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsSleeping.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsSleeping.cs deleted file mode 100644 index 1252e643..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsSleeping.cs +++ /dev/null @@ -1,40 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Returns Success if the Rigidbody is sleeping, otherwise Failure.")] - public class IsSleeping : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - return rigidbody.IsSleeping() ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsSleeping.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsSleeping.cs.meta deleted file mode 100644 index c0c0a203..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/IsSleeping.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 37e8153613f519240a11c3f6583d1030 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MovePosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MovePosition.cs deleted file mode 100644 index 81ac9191..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MovePosition.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Moves the Rigidbody to the specified position. Returns Success.")] - public class MovePosition : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The new position of the Rigidbody")] - public SharedVector3 position; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.MovePosition(position.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - position = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MovePosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MovePosition.cs.meta deleted file mode 100644 index 75fc531c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MovePosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 87176662744aee049b8af51b01bcb526 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MoveRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MoveRotation.cs deleted file mode 100644 index 9133cb77..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MoveRotation.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Rotates the Rigidbody to the specified rotation. Returns Success.")] - public class MoveRotation : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The new rotation of the Rigidbody")] - public SharedQuaternion rotation; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.MoveRotation(rotation.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - rotation = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MoveRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MoveRotation.cs.meta deleted file mode 100644 index 65a02522..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/MoveRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f1ba2e66d5ca98a4ba4020b4eff4da6e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularDrag.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularDrag.cs deleted file mode 100644 index c08194d2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularDrag.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Sets the angular drag of the Rigidbody. Returns Success.")] - public class SetAngularDrag : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The angular drag of the Rigidbody")] - public SharedFloat angularDrag; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.angularDrag = angularDrag.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - angularDrag = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularDrag.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularDrag.cs.meta deleted file mode 100644 index bfa75a99..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularDrag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2883595af7ee1c649ae45353482beed8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularVelocity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularVelocity.cs deleted file mode 100644 index 78f35260..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularVelocity.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Sets the angular velocity of the Rigidbody. Returns Success.")] - public class SetAngularVelocity : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The angular velocity of the Rigidbody")] - public SharedVector3 angularVelocity; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.angularVelocity = angularVelocity.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - angularVelocity = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularVelocity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularVelocity.cs.meta deleted file mode 100644 index 1c2b78f9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetAngularVelocity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8652396368a6dad4eb6e1259e680595c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetCenterOfMass.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetCenterOfMass.cs deleted file mode 100644 index f57cb25a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetCenterOfMass.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Sets the center of mass of the Rigidbody. Returns Success.")] - public class SetCenterOfMass : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The center of mass of the Rigidbody")] - public SharedVector3 centerOfMass; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.centerOfMass = centerOfMass.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - centerOfMass = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetCenterOfMass.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetCenterOfMass.cs.meta deleted file mode 100644 index 3a229ffb..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetCenterOfMass.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 594f2d37fbfc0d545a0377cf63543f41 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetConstraints.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetConstraints.cs deleted file mode 100644 index 0b174602..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetConstraints.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Sets the constraints of the Rigidbody. Returns Success.")] - public class SetConstraints : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The constraints of the Rigidbody")] - public RigidbodyConstraints constraints = RigidbodyConstraints.None; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.constraints = constraints; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - constraints = RigidbodyConstraints.None; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetConstraints.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetConstraints.cs.meta deleted file mode 100644 index 8affb848..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetConstraints.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dd098240974b0184ca8c66cb6e450753 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetDrag.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetDrag.cs deleted file mode 100644 index e755cf6e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetDrag.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Sets the drag of the Rigidbody. Returns Success.")] - public class SetDrag : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The drag of the Rigidbody")] - public SharedFloat drag; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.drag = drag.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - drag = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetDrag.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetDrag.cs.meta deleted file mode 100644 index 370e0d8b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetDrag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8984a684f33e6644abbb9cfe6c9068d9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetFreezeRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetFreezeRotation.cs deleted file mode 100644 index 9b6342ba..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetFreezeRotation.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Sets the freeze rotation value of the Rigidbody. Returns Success.")] - public class SetFreezeRotation : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The freeze rotation value of the Rigidbody")] - public SharedBool freezeRotation; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.freezeRotation = freezeRotation.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - freezeRotation = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetFreezeRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetFreezeRotation.cs.meta deleted file mode 100644 index 67fd3cac..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetFreezeRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4160755a1f5174546b6ccbabff469187 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetIsKinematic.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetIsKinematic.cs deleted file mode 100644 index 49ead821..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetIsKinematic.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Sets the is kinematic value of the Rigidbody. Returns Success.")] - public class SetIsKinematic : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The is kinematic value of the Rigidbody")] - public SharedBool isKinematic; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.isKinematic = isKinematic.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - isKinematic = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetIsKinematic.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetIsKinematic.cs.meta deleted file mode 100644 index 78a73857..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetIsKinematic.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6d93194d82815024cadf3f4f842666d0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetMass.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetMass.cs deleted file mode 100644 index 48c1da8f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetMass.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Sets the mass of the Rigidbody. Returns Success.")] - public class SetMass : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The mass of the Rigidbody")] - public SharedFloat mass; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.mass = mass.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - mass = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetMass.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetMass.cs.meta deleted file mode 100644 index b1ab1a4e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetMass.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 82f7a92bee3553d49bbb1ebabfaffc12 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetPosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetPosition.cs deleted file mode 100644 index 86b564a5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetPosition.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Sets the position of the Rigidbody. Returns Success.")] - public class SetPosition : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The position of the Rigidbody")] - public SharedVector3 position; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.position = position.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - position = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetPosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetPosition.cs.meta deleted file mode 100644 index 62b9cac0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetPosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8a33b86eb94a87c449e1f3344973cc50 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetRotation.cs deleted file mode 100644 index ffa231a8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetRotation.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Stores the rotation of the Rigidbody. Returns Success.")] - public class SetRotation : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The rotation of the Rigidbody")] - public SharedQuaternion rotation; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.rotation = rotation.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - rotation = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetRotation.cs.meta deleted file mode 100644 index cf104f74..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c5ac2e84278f4a845ba47d1e4469e869 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetUseGravity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetUseGravity.cs deleted file mode 100644 index a95330a5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetUseGravity.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Sets the use gravity value of the Rigidbody. Returns Success.")] - public class SetUseGravity : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The use gravity value of the Rigidbody")] - public SharedBool isKinematic; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.useGravity = isKinematic.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - isKinematic = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetUseGravity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetUseGravity.cs.meta deleted file mode 100644 index 8e3be08a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetUseGravity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 19548f438ad1c684180d41713cbdeb76 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetVelocity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetVelocity.cs deleted file mode 100644 index e488ebc5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetVelocity.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Sets the velocity of the Rigidbody. Returns Success.")] - public class SetVelocity : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The velocity of the Rigidbody")] - public SharedVector3 velocity; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.velocity = velocity.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - velocity = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetVelocity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetVelocity.cs.meta deleted file mode 100644 index c1756a01..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetVelocity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3e3fc3ca798c87644a42b1c930fff3f0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/Sleep.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/Sleep.cs deleted file mode 100644 index 796f7f29..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/Sleep.cs +++ /dev/null @@ -1,42 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Forces the Rigidbody to sleep at least one frame. Returns Success.")] - public class Sleep : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.Sleep(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/Sleep.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/Sleep.cs.meta deleted file mode 100644 index dc6ae392..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/Sleep.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1683ca7168c4ce74db4396c4d3cb65ce -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/UseGravity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/UseGravity.cs deleted file mode 100644 index 1cdcb762..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/UseGravity.cs +++ /dev/null @@ -1,40 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Returns Success if the Rigidbody is using gravity, otherwise Failure.")] - public class UseGravity : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - return rigidbody.useGravity ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/UseGravity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/UseGravity.cs.meta deleted file mode 100644 index 446f7f0d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/UseGravity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a0d11b67c4ae058469e7f7b00db7103f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/WakeUp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/WakeUp.cs deleted file mode 100644 index fcb4fe74..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/WakeUp.cs +++ /dev/null @@ -1,42 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody -{ - [TaskCategory("Basic/Rigidbody")] - [TaskDescription("Forces the Rigidbody to wake up. Returns Success.")] - public class WakeUp : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - // cache the rigidbody component - private Rigidbody rigidbody; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody.WakeUp(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/WakeUp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/WakeUp.cs.meta deleted file mode 100644 index d65620b9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody/WakeUp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d4314af88b4d86046bdac1f10f6f9a47 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D.meta deleted file mode 100644 index 9c0f800c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 842427c186c2e5941b1b02873f6480e3 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForce.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForce.cs deleted file mode 100644 index bc084e41..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForce.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Applies a force to the Rigidbody2D. Returns Success.")] - public class AddForce : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The amount of force to apply")] - public SharedVector2 force; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - rigidbody2D.AddForce(force.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - force = Vector2.zero; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForce.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForce.cs.meta deleted file mode 100644 index 3f52d151..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForce.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9ea79154ee01cf441a9744c877542a1f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForceAtPosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForceAtPosition.cs deleted file mode 100644 index c1a187c6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForceAtPosition.cs +++ /dev/null @@ -1,47 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Applies a force at the specified position to the Rigidbody2D. Returns Success.")] - public class AddForceAtPosition : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The amount of force to apply")] - public SharedVector2 force; - [Tooltip("The position of the force")] - public SharedVector2 position; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - rigidbody2D.AddForceAtPosition(force.Value, position.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - force = Vector2.zero; - position = Vector2.zero; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForceAtPosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForceAtPosition.cs.meta deleted file mode 100644 index e1edb20c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddForceAtPosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dd82f0f77306bad46bae7944a5c66664 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddTorque.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddTorque.cs deleted file mode 100644 index 9f065e34..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddTorque.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Applies a torque to the Rigidbody2D. Returns Success.")] - public class AddTorque : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The amount of torque to apply")] - public SharedFloat torque; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - rigidbody2D.AddTorque(torque.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - torque = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddTorque.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddTorque.cs.meta deleted file mode 100644 index d79e4975..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/AddTorque.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cc561d806d4518044becff628e148424 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularDrag.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularDrag.cs deleted file mode 100644 index 17080d53..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularDrag.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Stores the angular drag of the Rigidbody2D. Returns Success.")] - public class GetAngularDrag : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The angular drag of the Rigidbody2D")] - [RequiredField] - public SharedFloat storeValue; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody2D.angularDrag; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularDrag.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularDrag.cs.meta deleted file mode 100644 index 4aefa782..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularDrag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 10833270578d69041b561c5126bb31f2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularVelocity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularVelocity.cs deleted file mode 100644 index 17be28db..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularVelocity.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Stores the angular velocity of the Rigidbody2D. Returns Success.")] - public class GetAngularVelocity : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The angular velocity of the Rigidbody2D")] - [RequiredField] - public SharedFloat storeValue; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody2D.angularVelocity; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularVelocity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularVelocity.cs.meta deleted file mode 100644 index 15cae45b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetAngularVelocity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 68ac62a9384c11245a850220f1bc72b8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetDrag.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetDrag.cs deleted file mode 100644 index b01bf9a2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetDrag.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Stores the drag of the Rigidbody2D. Returns Success.")] - public class GetDrag : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The drag of the Rigidbody2D")] - [RequiredField] - public SharedFloat storeValue; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody2D.drag; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetDrag.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetDrag.cs.meta deleted file mode 100644 index 872fb557..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetDrag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6e39198e5d65d514185f2816cced7c7b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetGravtyScale.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetGravtyScale.cs deleted file mode 100644 index 9b1ef3a0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetGravtyScale.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Stores the gravity scale of the Rigidbody2D. Returns Success.")] - public class GetGravityScale : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The gravity scale of the Rigidbody2D")] - [RequiredField] - public SharedFloat storeValue; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody2D.gravityScale; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetGravtyScale.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetGravtyScale.cs.meta deleted file mode 100644 index ee205b51..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetGravtyScale.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e2d17fb9baea6554082f2edc46483e8c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetIsKinematic.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetIsKinematic.cs deleted file mode 100644 index 94221a04..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetIsKinematic.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Stores the is kinematic value of the Rigidbody2D. Returns Success.")] - public class GetIsKinematic : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The is kinematic value of the Rigidbody2D")] - [RequiredField] - public SharedBool storeValue; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody2D.isKinematic; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = false; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetIsKinematic.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetIsKinematic.cs.meta deleted file mode 100644 index 10f9161a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetIsKinematic.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 66c6175d42bd49e48be458378e0a7875 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetMass.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetMass.cs deleted file mode 100644 index 245f2b9e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetMass.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Stores the mass of the Rigidbody2D. Returns Success.")] - public class GetMass : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The mass of the Rigidbody2D")] - [RequiredField] - public SharedFloat storeValue; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody2D.mass; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetMass.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetMass.cs.meta deleted file mode 100644 index d9588541..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetMass.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 72d52ef5efe5e974994c91279536555e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetPosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetPosition.cs deleted file mode 100644 index b22333ad..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetPosition.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Stores the position of the Rigidbody2D. Returns Success.")] - public class GetPosition : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The velocity of the Rigidbody2D")] - [RequiredField] - public SharedVector2 storeValue; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody2D.position; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector2.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetPosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetPosition.cs.meta deleted file mode 100644 index 00083e0e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetPosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 98dff23734f3a834cbf5ccf87c9904f7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetRotation.cs deleted file mode 100644 index 061646e0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetRotation.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Stores the rotation of the Rigidbody2D. Returns Success.")] - public class GetRotation : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The rotation of the Rigidbody2D")] - [RequiredField] - public SharedFloat storeValue; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody2D.rotation; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetRotation.cs.meta deleted file mode 100644 index 6be4219c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a7d82ab7ef780f34cb5df06366b0bdbf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetVelocity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetVelocity.cs deleted file mode 100644 index bbba8a51..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetVelocity.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Stores the velocity of the Rigidbody2D. Returns Success.")] - public class GetVelocity : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The velocity of the Rigidbody2D")] - [RequiredField] - public SharedVector2 storeValue; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - storeValue.Value = rigidbody2D.velocity; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector2.zero; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetVelocity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetVelocity.cs.meta deleted file mode 100644 index d92cc9fd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/GetVelocity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 13009f7b6ee1bc04884442484a065cc3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsKinematic.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsKinematic.cs deleted file mode 100644 index 9bccbaef..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsKinematic.cs +++ /dev/null @@ -1,39 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Returns Success if the Rigidbody2D is kinematic, otherwise Failure.")] - public class IsKinematic : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - return rigidbody2D.isKinematic ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsKinematic.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsKinematic.cs.meta deleted file mode 100644 index edf168f7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsKinematic.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 47d2e6e60a2251c41a2c548dc9a8c922 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsSleeping.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsSleeping.cs deleted file mode 100644 index d010d1cc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsSleeping.cs +++ /dev/null @@ -1,39 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Returns Success if the Rigidbody2D is sleeping, otherwise Failure.")] - public class IsSleeping : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - return rigidbody2D.IsSleeping() ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsSleeping.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsSleeping.cs.meta deleted file mode 100644 index 3b38a447..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/IsSleeping.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 52859810158277a4a917e70a834a82a5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MovePosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MovePosition.cs deleted file mode 100644 index 5ce7edbc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MovePosition.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Moves the Rigidbody2D to the specified position. Returns Success.")] - public class MovePosition : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The new position of the Rigidbody")] - public SharedVector2 position; - - // cache the rigidbody component - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody2D.MovePosition(position.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - position = Vector2.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MovePosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MovePosition.cs.meta deleted file mode 100644 index 79762af7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MovePosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3e72fab171287194ea2d8eb2aa239cd4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MoveRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MoveRotation.cs deleted file mode 100644 index e0b221a0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MoveRotation.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Rotates the Rigidbody2D to the specified rotation. Returns Success.")] - public class MoveRotation : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The new rotation of the Rigidbody")] - public SharedFloat rotation; - - // cache the rigidbody component - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody is null"); - return TaskStatus.Failure; - } - - rigidbody2D.MoveRotation(rotation.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - rotation = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MoveRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MoveRotation.cs.meta deleted file mode 100644 index 09bb16a9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/MoveRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 38b0095c420511f4b9ed263b1b5c6054 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularDrag.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularDrag.cs deleted file mode 100644 index 3bb17e07..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularDrag.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Sets the angular drag of the Rigidbody2D. Returns Success.")] - public class SetAngularDrag : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The angular drag of the Rigidbody2D")] - public SharedFloat angularDrag; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - rigidbody2D.angularDrag = angularDrag.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - angularDrag = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularDrag.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularDrag.cs.meta deleted file mode 100644 index 1ec92fe3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularDrag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1717a737318274e4caa244f86c908851 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularVelocity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularVelocity.cs deleted file mode 100644 index 9fc45f3d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularVelocity.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Sets the angular velocity of the Rigidbody2D. Returns Success.")] - public class SetAngularVelocity : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The angular velocity of the Rigidbody2D")] - public SharedFloat angularVelocity; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - rigidbody2D.angularVelocity = angularVelocity.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - angularVelocity = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularVelocity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularVelocity.cs.meta deleted file mode 100644 index a559685e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetAngularVelocity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c73dfb332d90cbe4280c21fafa59e2fa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetDrag.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetDrag.cs deleted file mode 100644 index 1530cc07..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetDrag.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Sets the drag of the Rigidbody2D. Returns Success.")] - public class SetDrag : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The drag of the Rigidbody2D")] - public SharedFloat drag; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - rigidbody2D.drag = drag.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - drag = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetDrag.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetDrag.cs.meta deleted file mode 100644 index 96d06ce2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetDrag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3148efd94c23d634a9f02cc9c808de80 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetGravityScale.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetGravityScale.cs deleted file mode 100644 index a6ce28a4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetGravityScale.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Sets the gravity scale of the Rigidbody2D. Returns Success.")] - public class SetGravityScale : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The gravity scale of the Rigidbody2D")] - public SharedFloat gravityScale; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - rigidbody2D.gravityScale = gravityScale.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - gravityScale = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetGravityScale.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetGravityScale.cs.meta deleted file mode 100644 index 516e6ac5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetGravityScale.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ac896135858701649bcaffc7ef00637f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetIsKinematic.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetIsKinematic.cs deleted file mode 100644 index c8e2563e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetIsKinematic.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Sets the is kinematic value of the Rigidbody2D. Returns Success.")] - public class SetIsKinematic : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The is kinematic value of the Rigidbody2D")] - public SharedBool isKinematic; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - rigidbody2D.isKinematic = isKinematic.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - isKinematic = false; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetIsKinematic.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetIsKinematic.cs.meta deleted file mode 100644 index ff7f5f2c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetIsKinematic.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b7c96d64d821e304a8c67c031565d902 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetMass.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetMass.cs deleted file mode 100644 index c218e087..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetMass.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Sets the mass of the Rigidbody2D. Returns Success.")] - public class SetMass : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The mass of the Rigidbody2D")] - public SharedFloat mass; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - rigidbody2D.mass = mass.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - mass = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetMass.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetMass.cs.meta deleted file mode 100644 index 042c36e0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetMass.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: facbfd14ece02214889d587f06215105 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetVelocity.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetVelocity.cs deleted file mode 100644 index 7f1f782a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetVelocity.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Sets the velocity of the Rigidbody2D. Returns Success.")] - public class SetVelocity : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The velocity of the Rigidbody2D")] - public SharedVector2 velocity; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - rigidbody2D.velocity = velocity.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - velocity = Vector2.zero; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetVelocity.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetVelocity.cs.meta deleted file mode 100644 index a78bc24c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/SetVelocity.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5830960da4f9a3148ba5d8cd87228748 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/Sleep.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/Sleep.cs deleted file mode 100644 index 9357826c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/Sleep.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Forces the Rigidbody2D to sleep at least one frame. Returns Success.")] - public class Sleep : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - rigidbody2D.Sleep(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/Sleep.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/Sleep.cs.meta deleted file mode 100644 index 9e50b4e1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/Sleep.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7e24fd00ca72fda48a132dc9bfa71070 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/WakeUp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/WakeUp.cs deleted file mode 100644 index 66a3318d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/WakeUp.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody2D -{ - [TaskCategory("Basic/Rigidbody2D")] - [TaskDescription("Forces the Rigidbody2D to wake up. Returns Success.")] - public class WakeUp : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - - private Rigidbody2D rigidbody2D; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - rigidbody2D = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (rigidbody2D == null) { - Debug.LogWarning("Rigidbody2D is null"); - return TaskStatus.Failure; - } - - rigidbody2D.WakeUp(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/WakeUp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/WakeUp.cs.meta deleted file mode 100644 index ce6821bb..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Rigidbody2D/WakeUp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 954f1f9c196c39345b2fd389516ad613 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables.meta deleted file mode 100644 index d9527db4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 1ca8022ad636ccc4ab940c05d58dfd6b -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs deleted file mode 100644 index 73fd634c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedBool : Conditional - { - [Tooltip("The first variable to compare")] - public SharedBool variable; - [Tooltip("The variable to compare to")] - public SharedBool compareTo; - - public override TaskStatus OnUpdate() - { - return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - variable = false; - compareTo = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs.meta deleted file mode 100644 index 1e856966..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedBool.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ba0766a97c2e5c94fbc49d8cb1dea8e3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedColor.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedColor.cs deleted file mode 100644 index 58e23442..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedColor.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedColor : Conditional - { - [Tooltip("The first variable to compare")] - public SharedColor variable; - [Tooltip("The variable to compare to")] - public SharedColor compareTo; - - public override TaskStatus OnUpdate() - { - return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - variable = Color.black; - compareTo = Color.black; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedColor.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedColor.cs.meta deleted file mode 100644 index 2a8f288a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedColor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c9e83747d98bd064b9a5ad62b36d7657 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedFloat.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedFloat.cs deleted file mode 100644 index 967ad9d6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedFloat.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedFloat : Conditional - { - [Tooltip("The first variable to compare")] - public SharedFloat variable; - [Tooltip("The variable to compare to")] - public SharedFloat compareTo; - - public override TaskStatus OnUpdate() - { - return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - variable = 0; - compareTo = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedFloat.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedFloat.cs.meta deleted file mode 100644 index 42430338..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedFloat.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6925a99e92b6d804db1f4b607e7501d3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObject.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObject.cs deleted file mode 100644 index fda37a7e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObject.cs +++ /dev/null @@ -1,30 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedGameObject : Conditional - { - [Tooltip("The first variable to compare")] - public SharedGameObject variable; - [Tooltip("The variable to compare to")] - public SharedGameObject compareTo; - - public override TaskStatus OnUpdate() - { - if (variable.Value == null && compareTo.Value != null) - return TaskStatus.Failure; - if (variable.Value == null && compareTo.Value == null) - return TaskStatus.Success; - - return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - variable = null; - compareTo = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObject.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObject.cs.meta deleted file mode 100644 index b0e3b516..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObject.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: daa5c3b8a325bcd4bb3da10a6715f6d0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObjectList.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObjectList.cs deleted file mode 100644 index 97af31c9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObjectList.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedGameObjectList : Conditional - { - [Tooltip("The first variable to compare")] - public SharedGameObjectList variable; - [Tooltip("The variable to compare to")] - public SharedGameObjectList compareTo; - - public override TaskStatus OnUpdate() - { - if (variable.Value == null && compareTo.Value != null) - return TaskStatus.Failure; - if (variable.Value == null && compareTo.Value == null) - return TaskStatus.Success; - if (variable.Value.Count != compareTo.Value.Count) - return TaskStatus.Failure; - - for (int i = 0; i < variable.Value.Count; ++i) { - if (variable.Value[i] != compareTo.Value[i]) { - return TaskStatus.Failure; - } - } - return TaskStatus.Success; - } - - public override void OnReset() - { - variable = null; - compareTo = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObjectList.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObjectList.cs.meta deleted file mode 100644 index 6db560f6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedGameObjectList.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a2b81932d36a0be4fba0868f7ed3e53c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedInt.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedInt.cs deleted file mode 100644 index 7183e8e6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedInt.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedInt : Conditional - { - [Tooltip("The first variable to compare")] - public SharedInt variable; - [Tooltip("The variable to compare to")] - public SharedInt compareTo; - - public override TaskStatus OnUpdate() - { - return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - variable = 0; - compareTo = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedInt.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedInt.cs.meta deleted file mode 100644 index 0ea01290..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedInt.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 40307a4117777b4479a1402fd67811ff -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObject.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObject.cs deleted file mode 100644 index b53daf88..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObject.cs +++ /dev/null @@ -1,30 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedObject : Conditional - { - [Tooltip("The first variable to compare")] - public SharedObject variable; - [Tooltip("The variable to compare to")] - public SharedObject compareTo; - - public override TaskStatus OnUpdate() - { - if (variable.Value == null && compareTo.Value != null) - return TaskStatus.Failure; - if (variable.Value == null && compareTo.Value == null) - return TaskStatus.Success; - - return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - variable = null; - compareTo = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObject.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObject.cs.meta deleted file mode 100644 index 08e55c50..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObject.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 66a9105498519ae4082d9ac7adcf5da4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObjectList.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObjectList.cs deleted file mode 100644 index e15644c9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObjectList.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedObjectList : Conditional - { - [Tooltip("The first variable to compare")] - public SharedObjectList variable; - [Tooltip("The variable to compare to")] - public SharedObjectList compareTo; - - public override TaskStatus OnUpdate() - { - if (variable.Value == null && compareTo.Value != null) - return TaskStatus.Failure; - if (variable.Value == null && compareTo.Value == null) - return TaskStatus.Success; - if (variable.Value.Count != compareTo.Value.Count) - return TaskStatus.Failure; - - for (int i = 0; i < variable.Value.Count; ++i) { - if (variable.Value[i] != compareTo.Value[i]) { - return TaskStatus.Failure; - } - } - return TaskStatus.Success; - } - - public override void OnReset() - { - variable = null; - compareTo = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObjectList.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObjectList.cs.meta deleted file mode 100644 index 0183b3f4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedObjectList.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ac4cab9acc737904885d379388e83950 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedQuaternion.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedQuaternion.cs deleted file mode 100644 index 9a17ec10..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedQuaternion.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedQuaternion : Conditional - { - [Tooltip("The first variable to compare")] - public SharedQuaternion variable; - [Tooltip("The variable to compare to")] - public SharedQuaternion compareTo; - - public override TaskStatus OnUpdate() - { - return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - variable = Quaternion.identity; - compareTo = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedQuaternion.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedQuaternion.cs.meta deleted file mode 100644 index a5b7ad50..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedQuaternion.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 101b2ac215bf58149ab91be3b55d5145 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedRect.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedRect.cs deleted file mode 100644 index ccbe413b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedRect.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedRect : Conditional - { - [Tooltip("The first variable to compare")] - public SharedRect variable; - [Tooltip("The variable to compare to")] - public SharedRect compareTo; - - public override TaskStatus OnUpdate() - { - return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - variable = new Rect(); - compareTo = new Rect(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedRect.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedRect.cs.meta deleted file mode 100644 index 975e83ed..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedRect.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d73d97622bbe61d4c91f9b4cacb3e0c2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedString.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedString.cs deleted file mode 100644 index f6306a0f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedString.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedString : Conditional - { - [Tooltip("The first variable to compare")] - public SharedString variable; - [Tooltip("The variable to compare to")] - public SharedString compareTo; - - public override TaskStatus OnUpdate() - { - return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - variable = ""; - compareTo = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedString.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedString.cs.meta deleted file mode 100644 index 19000027..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedString.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8b1a3248c84732345914404e47a55fcc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransform.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransform.cs deleted file mode 100644 index 34c35cf2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransform.cs +++ /dev/null @@ -1,30 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedTransform : Conditional - { - [Tooltip("The first variable to compare")] - public SharedTransform variable; - [Tooltip("The variable to compare to")] - public SharedTransform compareTo; - - public override TaskStatus OnUpdate() - { - if (variable.Value == null && compareTo.Value != null) - return TaskStatus.Failure; - if (variable.Value == null && compareTo.Value == null) - return TaskStatus.Success; - - return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - variable = null; - compareTo = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransform.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransform.cs.meta deleted file mode 100644 index ecaf052e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransform.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a21f70566ff2afc4e95454d3d658c1fa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransformList.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransformList.cs deleted file mode 100644 index 9091d0a1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransformList.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedTransformList : Conditional - { - [Tooltip("The first variable to compare")] - public SharedTransformList variable; - [Tooltip("The variable to compare to")] - public SharedTransformList compareTo; - - public override TaskStatus OnUpdate() - { - if (variable.Value == null && compareTo.Value != null) - return TaskStatus.Failure; - if (variable.Value == null && compareTo.Value == null) - return TaskStatus.Success; - if (variable.Value.Count != compareTo.Value.Count) - return TaskStatus.Failure; - - for (int i = 0; i < variable.Value.Count; ++i) { - if (variable.Value[i] != compareTo.Value[i]) { - return TaskStatus.Failure; - } - } - return TaskStatus.Success; - } - - public override void OnReset() - { - variable = null; - compareTo = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransformList.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransformList.cs.meta deleted file mode 100644 index fb7a667a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedTransformList.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8ea22243f4fc22946a0033142f3a2380 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector2.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector2.cs deleted file mode 100644 index c419b558..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector2.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedVector2 : Conditional - { - [Tooltip("The first variable to compare")] - public SharedVector2 variable; - [Tooltip("The variable to compare to")] - public SharedVector2 compareTo; - - public override TaskStatus OnUpdate() - { - return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - variable = Vector2.zero; - compareTo = Vector2.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector2.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector2.cs.meta deleted file mode 100644 index 1952f213..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector2.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ce90fa6ac7a64b044936fa647e5f0e80 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector3.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector3.cs deleted file mode 100644 index 03c89378..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector3.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedVector3 : Conditional - { - [Tooltip("The first variable to compare")] - public SharedVector3 variable; - [Tooltip("The variable to compare to")] - public SharedVector3 compareTo; - - public override TaskStatus OnUpdate() - { - return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - variable = Vector3.zero; - compareTo = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector3.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector3.cs.meta deleted file mode 100644 index b9ea65fc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector3.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 617192db87511d844940d400c960d13d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector4.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector4.cs deleted file mode 100644 index e502fe99..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector4.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Returns success if the variable value is equal to the compareTo value.")] - public class CompareSharedVector4 : Conditional - { - [Tooltip("The first variable to compare")] - public SharedVector4 variable; - [Tooltip("The variable to compare to")] - public SharedVector4 compareTo; - - public override TaskStatus OnUpdate() - { - return variable.Value.Equals(compareTo.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - variable = Vector4.zero; - compareTo = Vector4.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector4.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector4.cs.meta deleted file mode 100644 index 119336b2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/CompareSharedVector4.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9738be23ad39d2c4ba8adc018b545ece -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedBool.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedBool.cs deleted file mode 100644 index 1043c0fa..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedBool.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedBool variable to the specified object. Returns Success.")] - public class SetSharedBool : Action - { - [Tooltip("The value to set the SharedBool to")] - public SharedBool targetValue; - [RequiredField] - [Tooltip("The SharedBool to set")] - public SharedBool targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = false; - targetVariable = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedBool.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedBool.cs.meta deleted file mode 100644 index 251b180c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedBool.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 54f63c79d78692a4e84e502f7cd705a6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedColor.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedColor.cs deleted file mode 100644 index 120bdb1a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedColor.cs +++ /dev/null @@ -1,28 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedColor variable to the specified object. Returns Success.")] - public class SetSharedColor : Action - { - [Tooltip("The value to set the SharedColor to")] - public SharedColor targetValue; - [RequiredField] - [Tooltip("The SharedColor to set")] - public SharedColor targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = Color.black; - targetVariable = Color.black; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedColor.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedColor.cs.meta deleted file mode 100644 index 7132dddb..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedColor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 48c49264be0e7244ba46b8c970027a20 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedFloat.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedFloat.cs deleted file mode 100644 index d065be9f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedFloat.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedFloat variable to the specified object. Returns Success.")] - public class SetSharedFloat : Action - { - [Tooltip("The value to set the SharedFloat to")] - public SharedFloat targetValue; - [RequiredField] - [Tooltip("The SharedFloat to set")] - public SharedFloat targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = 0; - targetVariable = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedFloat.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedFloat.cs.meta deleted file mode 100644 index 5f1588ba..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedFloat.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4d5b15c88fb154446b9b1ad90cb3987f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObject.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObject.cs deleted file mode 100644 index ac7f7540..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObject.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedGameObject variable to the specified object. Returns Success.")] - public class SetSharedGameObject : Action - { - [Tooltip("The value to set the SharedGameObject to. If null the variable will be set to the current GameObject")] - public SharedGameObject targetValue; - [RequiredField] - [Tooltip("The SharedGameObject to set")] - public SharedGameObject targetVariable; - [Tooltip("Can the target value be null?")] - public SharedBool valueCanBeNull; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = ((targetValue.Value != null || valueCanBeNull.Value) ? targetValue.Value : gameObject); - - return TaskStatus.Success; - } - - public override void OnReset() - { - valueCanBeNull = false; - targetValue = null; - targetVariable = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObject.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObject.cs.meta deleted file mode 100644 index 859f7776..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObject.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bf4af224a0ebd5946bc4f01f18d0627b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObjectList.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObjectList.cs deleted file mode 100644 index fb3a5efe..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObjectList.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedGameObjectList variable to the specified object. Returns Success.")] - public class SetSharedGameObjectList : Action - { - [Tooltip("The value to set the SharedGameObjectList to.")] - public SharedGameObjectList targetValue; - [RequiredField] - [Tooltip("The SharedGameObjectList to set")] - public SharedGameObjectList targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = null; - targetVariable = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObjectList.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObjectList.cs.meta deleted file mode 100644 index f5b14ddc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedGameObjectList.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b02b163c1dc1b894ca53f80378e39b26 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedInt.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedInt.cs deleted file mode 100644 index ae27d8b8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedInt.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedInt variable to the specified object. Returns Success.")] - public class SetSharedInt : Action - { - [Tooltip("The value to set the SharedInt to")] - public SharedInt targetValue; - [RequiredField] - [Tooltip("The SharedInt to set")] - public SharedInt targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = 0; - targetVariable = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedInt.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedInt.cs.meta deleted file mode 100644 index 279e8dba..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedInt.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 742d2b1426f291e45b03bcf845c53a67 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObject.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObject.cs deleted file mode 100644 index 5e0a39a8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObject.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedObject variable to the specified object. Returns Success.")] - public class SetSharedObject : Action - { - [Tooltip("The value to set the SharedObject to")] - public SharedObject targetValue; - [RequiredField] - [Tooltip("The SharedTransform to set")] - public SharedObject targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = null; - targetVariable = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObject.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObject.cs.meta deleted file mode 100644 index f779b22c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObject.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f80da138a03cfdd4e98af96ed5f6681b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObjectList.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObjectList.cs deleted file mode 100644 index 463cd0bb..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObjectList.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedObjectList variable to the specified object. Returns Success.")] - public class SetSharedObjectList : Action - { - [Tooltip("The value to set the SharedObjectList to.")] - public SharedObjectList targetValue; - [RequiredField] - [Tooltip("The SharedObjectList to set")] - public SharedObjectList targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = null; - targetVariable = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObjectList.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObjectList.cs.meta deleted file mode 100644 index 0a74168d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedObjectList.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b5c211b64a2cf364e99b99dab3ce3c87 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedQuaternion.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedQuaternion.cs deleted file mode 100644 index 7f4e95da..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedQuaternion.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedQuaternion variable to the specified object. Returns Success.")] - public class SetSharedQuaternion : Action - { - [Tooltip("The value to set the SharedQuaternion to")] - public SharedQuaternion targetValue; - [RequiredField] - [Tooltip("The SharedQuaternion to set")] - public SharedQuaternion targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = Quaternion.identity; - targetVariable = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedQuaternion.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedQuaternion.cs.meta deleted file mode 100644 index c5975461..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedQuaternion.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 42f84705fc5571e4088098d1239b5f46 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs deleted file mode 100644 index bcef0665..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs +++ /dev/null @@ -1,28 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedRect variable to the specified object. Returns Success.")] - public class SetSharedRect : Action - { - [Tooltip("The value to set the SharedRect to")] - public SharedRect targetValue; - [RequiredField] - [Tooltip("The SharedRect to set")] - public SharedRect targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = new Rect(); - targetVariable = new Rect(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs.meta deleted file mode 100644 index 97568cdc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedRect.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7313c7640a9d92b4294a7702b3c5339b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedString.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedString.cs deleted file mode 100644 index d95ce9d8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedString.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedString variable to the specified object. Returns Success.")] - public class SetSharedString : Action - { - [Tooltip("The value to set the SharedString to")] - public SharedString targetValue; - [RequiredField] - [Tooltip("The SharedString to set")] - public SharedString targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = ""; - targetVariable = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedString.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedString.cs.meta deleted file mode 100644 index c36a773e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedString.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 92060068b2f07c54f930e1b8a8976c11 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransform.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransform.cs deleted file mode 100644 index 43f66caf..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransform.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedTransform variable to the specified object. Returns Success.")] - public class SetSharedTransform : Action - { - [Tooltip("The value to set the SharedTransform to. If null the variable will be set to the current Transform")] - public SharedTransform targetValue; - [RequiredField] - [Tooltip("The SharedTransform to set")] - public SharedTransform targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = (targetValue.Value != null ? targetValue.Value : transform); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = null; - targetVariable = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransform.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransform.cs.meta deleted file mode 100644 index dee1b887..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransform.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 78e7da45e8b6c2e4cbbf4fdf474070e5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransformList.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransformList.cs deleted file mode 100644 index f7edfd0d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransformList.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedTransformList variable to the specified object. Returns Success.")] - public class SetSharedTransformList : Action - { - [Tooltip("The value to set the SharedTransformList to.")] - public SharedTransformList targetValue; - [RequiredField] - [Tooltip("The SharedTransformList to set")] - public SharedTransformList targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = null; - targetVariable = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransformList.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransformList.cs.meta deleted file mode 100644 index 11b0bb2a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedTransformList.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fae9cd59e50283949a2cc8ec460ffafe -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector2.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector2.cs deleted file mode 100644 index 6c086a23..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector2.cs +++ /dev/null @@ -1,28 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedVector2 variable to the specified object. Returns Success.")] - public class SetSharedVector2 : Action - { - [Tooltip("The value to set the SharedVector2 to")] - public SharedVector2 targetValue; - [RequiredField] - [Tooltip("The SharedVector2 to set")] - public SharedVector2 targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = Vector2.zero; - targetVariable = Vector2.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector2.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector2.cs.meta deleted file mode 100644 index b9b672f9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector2.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c70cf248c723950409d74c11d0781c06 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector3.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector3.cs deleted file mode 100644 index ef2ae959..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector3.cs +++ /dev/null @@ -1,28 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedVector3 variable to the specified object. Returns Success.")] - public class SetSharedVector3 : Action - { - [Tooltip("The value to set the SharedVector3 to")] - public SharedVector3 targetValue; - [RequiredField] - [Tooltip("The SharedVector3 to set")] - public SharedVector3 targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = Vector3.zero; - targetVariable = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector3.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector3.cs.meta deleted file mode 100644 index 6b80394d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector3.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 281820e8b30038d48b4fa8f25728e6c3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector4.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector4.cs deleted file mode 100644 index a9a97753..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector4.cs +++ /dev/null @@ -1,28 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedVector4 variable to the specified object. Returns Success.")] - public class SetSharedVector4 : Action - { - [Tooltip("The value to set the SharedVector4 to")] - public SharedVector4 targetValue; - [RequiredField] - [Tooltip("The SharedVector4 to set")] - public SharedVector4 targetVariable; - - public override TaskStatus OnUpdate() - { - targetVariable.Value = targetValue.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetValue = Vector4.zero; - targetVariable = Vector4.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector4.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector4.cs.meta deleted file mode 100644 index 501d083c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SetSharedVector4.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5ca30d99da0685a4fa32d79624a5c0a0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectToTransform.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectToTransform.cs deleted file mode 100644 index e24d8835..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectToTransform.cs +++ /dev/null @@ -1,32 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Gets the Transform from the GameObject. Returns Success.")] - public class SharedGameObjectToTransform : Action - { - [Tooltip("The GameObject to get the Transform of")] - public SharedGameObject sharedGameObject; - [RequiredField] - [Tooltip("The Transform to set")] - public SharedTransform sharedTransform; - - public override TaskStatus OnUpdate() - { - if (sharedGameObject.Value == null) { - return TaskStatus.Failure; - } - - sharedTransform.Value = sharedGameObject.Value.GetComponent(); - - return TaskStatus.Success; - } - - public override void OnReset() - { - sharedGameObject = null; - sharedTransform = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectToTransform.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectToTransform.cs.meta deleted file mode 100644 index 58b9caa8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectToTransform.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c08dcd1e915bef6448649ffe4d3bef3d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectsToGameObjectList.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectsToGameObjectList.cs deleted file mode 100644 index 5849ac45..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectsToGameObjectList.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; -using System.Collections.Generic; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedGameObjectList values from the GameObjects. Returns Success.")] - public class SharedGameObjectsToGameObjectList : Action - { - [Tooltip("The GameObjects value")] - public SharedGameObject[] gameObjects; - [RequiredField] - [Tooltip("The SharedTransformList to set")] - public SharedGameObjectList storedGameObjectList; - - public override void OnAwake() - { - storedGameObjectList.Value = new List(); - } - - public override TaskStatus OnUpdate() - { - if (gameObjects == null || gameObjects.Length == 0) { - return TaskStatus.Failure; - } - - storedGameObjectList.Value.Clear(); - for (int i = 0; i < gameObjects.Length; ++i) { - storedGameObjectList.Value.Add(gameObjects[i].Value); - } - - return TaskStatus.Success; - } - - public override void OnReset() - { - gameObjects = null; - storedGameObjectList = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectsToGameObjectList.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectsToGameObjectList.cs.meta deleted file mode 100644 index 4d5c325a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedGameObjectsToGameObjectList.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4460871f1a9671343896ef9e56d9ceab -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformToGameObject.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformToGameObject.cs deleted file mode 100644 index bc8d10ba..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformToGameObject.cs +++ /dev/null @@ -1,32 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Gets the GameObject from the Transform component. Returns Success.")] - public class SharedTransformToGameObject : Action - { - [Tooltip("The Transform component")] - public SharedTransform sharedTransform; - [RequiredField] - [Tooltip("The GameObject to set")] - public SharedGameObject sharedGameObject; - - public override TaskStatus OnUpdate() - { - if (sharedTransform.Value == null) { - return TaskStatus.Failure; - } - - sharedGameObject.Value = sharedTransform.Value.gameObject; - - return TaskStatus.Success; - } - - public override void OnReset() - { - sharedTransform = null; - sharedGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformToGameObject.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformToGameObject.cs.meta deleted file mode 100644 index a5bb06c3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformToGameObject.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f2fd208ea1a8e1642a32148186f9e077 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformsToTransformList.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformsToTransformList.cs deleted file mode 100644 index 06ed2690..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformsToTransformList.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; -using System.Collections.Generic; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables -{ - [TaskCategory("Basic/SharedVariable")] - [TaskDescription("Sets the SharedTransformList values from the Transforms. Returns Success.")] - public class SharedTransformsToTransformList : Action - { - [Tooltip("The Transforms value")] - public SharedTransform[] transforms; - [RequiredField] - [Tooltip("The SharedTransformList to set")] - public SharedTransformList storedTransformList; - - public override void OnAwake() - { - storedTransformList.Value = new List(); - } - - public override TaskStatus OnUpdate() - { - if (transforms == null || transforms.Length == 0) { - return TaskStatus.Failure; - } - - storedTransformList.Value.Clear(); - for (int i = 0; i < transforms.Length; ++i) { - storedTransformList.Value.Add(transforms[i].Value); - } - - return TaskStatus.Success; - } - - public override void OnReset() - { - transforms = null; - storedTransformList = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformsToTransformList.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformsToTransformList.cs.meta deleted file mode 100644 index 5aa0a81e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SharedVariables/SharedTransformsToTransformList.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3533c6733499e9446b1eae98c8fcaeea -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider.meta deleted file mode 100644 index 4d3517e7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 79bf48a44f2371244a34ff82aaeaaded -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetCenter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetCenter.cs deleted file mode 100644 index 84793c5b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetCenter.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnitySphereCollider -{ - [TaskCategory("Basic/SphereCollider")] - [TaskDescription("Stores the center of the SphereCollider. Returns Success.")] - public class GetCenter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The center of the SphereCollider")] - [RequiredField] - public SharedVector3 storeValue; - - private SphereCollider sphereCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - sphereCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (sphereCollider == null) { - Debug.LogWarning("SphereCollider is null"); - return TaskStatus.Failure; - } - - storeValue.Value = sphereCollider.center; - - return TaskStatus.Success; - } - - public override void OnReset() - { - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetCenter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetCenter.cs.meta deleted file mode 100644 index 19d5324a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetCenter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d95a2896b550c5b4382b7ed35860f504 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetRadius.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetRadius.cs deleted file mode 100644 index 81531b9e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetRadius.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnitySphereCollider -{ - [TaskCategory("Basic/SphereCollider")] - [TaskDescription("Stores the radius of the SphereCollider. Returns Success.")] - public class GetRadius : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The radius of the SphereCollider")] - [RequiredField] - public SharedFloat storeValue; - - private SphereCollider sphereCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - sphereCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (sphereCollider == null) { - Debug.LogWarning("SphereCollider is null"); - return TaskStatus.Failure; - } - - storeValue.Value = sphereCollider.radius; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetRadius.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetRadius.cs.meta deleted file mode 100644 index 483f418a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/GetRadius.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2ff93bf538eee1444b3c51aadfc9bb7f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetCenter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetCenter.cs deleted file mode 100644 index 068800e1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetCenter.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnitySphereCollider -{ - [TaskCategory("Basic/SphereCollider")] - [TaskDescription("Sets the center of the SphereCollider. Returns Success.")] - public class SetCenter : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The center of the SphereCollider")] - public SharedVector3 center; - - private SphereCollider sphereCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - sphereCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (sphereCollider == null) { - Debug.LogWarning("SphereCollider is null"); - return TaskStatus.Failure; - } - - sphereCollider.center = center.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - center = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetCenter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetCenter.cs.meta deleted file mode 100644 index a9af8a3a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetCenter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dffebfe905e60814ab75e0d7c57432ec -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetRadius.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetRadius.cs deleted file mode 100644 index 483bae53..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetRadius.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnitySphereCollider -{ - [TaskCategory("Basic/SphereCollider")] - [TaskDescription("Sets the radius of the SphereCollider. Returns Success.")] - public class SetRadius : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The radius of the SphereCollider")] - public SharedFloat radius; - - private SphereCollider sphereCollider; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - sphereCollider = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (sphereCollider == null) { - Debug.LogWarning("SphereCollider is null"); - return TaskStatus.Failure; - } - - sphereCollider.radius = radius.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - radius = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetRadius.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetRadius.cs.meta deleted file mode 100644 index c1855dd0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/SphereCollider/SetRadius.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5f45a94e6b603f2498481f61218b1769 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String.meta deleted file mode 100644 index c2e70631..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: f1fb420b7a56bfa4ebafed6237009045 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/BuildString.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/BuildString.cs deleted file mode 100644 index f681b02a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/BuildString.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityString -{ - [TaskCategory("Basic/String")] - [TaskDescription("Creates a string from multiple other strings.")] - public class BuildString : Action - { - [Tooltip("The array of strings")] - public SharedString[] source; - [Tooltip("The stored result")] - [RequiredField] - public SharedString storeResult; - - public override TaskStatus OnUpdate() - { - for (int i = 0; i < source.Length; ++i) { - storeResult.Value += source[i]; - } - - return TaskStatus.Success; - } - - public override void OnReset() - { - source = null; - storeResult = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/BuildString.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/BuildString.cs.meta deleted file mode 100644 index 771073df..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/BuildString.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9373af75c434e1a4784c2a165ad3ce3b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/CompareTo.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/CompareTo.cs deleted file mode 100644 index b4958d4f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/CompareTo.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityString -{ - [TaskCategory("Basic/String")] - [TaskDescription("Compares the first string to the second string. Returns an int which indicates whether the first string precedes, matches, or follows the second string.")] - public class CompareTo : Action - { - [Tooltip("The string to compare")] - public SharedString firstString; - [Tooltip("The string to compare to")] - public SharedString secondString; - [Tooltip("The stored result")] - [RequiredField] - public SharedInt storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = firstString.Value.CompareTo(secondString.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - firstString = ""; - secondString = ""; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/CompareTo.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/CompareTo.cs.meta deleted file mode 100644 index 5c5500d2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/CompareTo.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c752378530d87cb4c98ba15e55936abf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Format.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Format.cs deleted file mode 100644 index 96e57f85..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Format.cs +++ /dev/null @@ -1,47 +0,0 @@ -using UnityEngine; -using System; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityString -{ - [TaskCategory("Basic/String")] - [TaskDescription("Stores a string with the specified format.")] - public class Format : Action - { - [Tooltip("The format of the string")] - public SharedString format; - [Tooltip("Any variables to appear in the string")] - public SharedGenericVariable[] variables; - [Tooltip("The result of the format")] - [RequiredField] - public SharedString storeResult; - - private object[] variableValues; - - public override void OnAwake() - { - variableValues = new object[variables.Length]; - } - - public override TaskStatus OnUpdate() - { - for (int i = 0; i < variableValues.Length; ++i) { - variableValues[i] = variables[i].Value.value.GetValue(); - } - - try { - storeResult.Value = string.Format(format.Value, variableValues); - } catch (Exception e) { - Debug.LogError(e.Message); - return TaskStatus.Failure; - } - return TaskStatus.Success; - } - - public override void OnReset() - { - format = ""; - variables = null; - storeResult = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Format.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Format.cs.meta deleted file mode 100644 index 4ddacf96..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Format.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d96c5da37483da346b96ef02fde824cb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetLength.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetLength.cs deleted file mode 100644 index c2de2405..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetLength.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityString -{ - [TaskCategory("Basic/String")] - [TaskDescription("Stores the length of the string")] - public class GetLength : Action - { - [Tooltip("The target string")] - public SharedString targetString; - [Tooltip("The stored result")] - [RequiredField] - public SharedInt storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = targetString.Value.Length; - return TaskStatus.Success; - } - - public override void OnReset() - { - targetString = ""; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetLength.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetLength.cs.meta deleted file mode 100644 index 61249d21..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetLength.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5ab3e7e038a50c14f9fa0b019399f3be -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetRandomString.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetRandomString.cs deleted file mode 100644 index 9d64210d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetRandomString.cs +++ /dev/null @@ -1,28 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityString -{ - [TaskCategory("Basic/String")] - [TaskDescription("Randomly selects a string from the array of strings.")] - public class GetRandomString : Action - { - [Tooltip("The array of strings")] - public SharedString[] source; - [Tooltip("The stored result")] - [RequiredField] - public SharedString storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = source[Random.Range(0, source.Length)].Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - source = null; - storeResult = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetRandomString.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetRandomString.cs.meta deleted file mode 100644 index b2ddfee1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetRandomString.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 355abdec2d73d2545b16d5e0d5f4c589 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetSubstring.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetSubstring.cs deleted file mode 100644 index 6ede171f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetSubstring.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityString -{ - [TaskCategory("Basic/String")] - [TaskDescription("Stores a substring of the target string")] - public class GetSubstring : Action - { - [Tooltip("The target string")] - public SharedString targetString; - [Tooltip("The start substring index")] - public SharedInt startIndex = 0; - [Tooltip("The length of the substring. Don't use if -1")] - public SharedInt length = -1; - [Tooltip("The stored result")] - [RequiredField] - public SharedString storeResult; - - public override TaskStatus OnUpdate() - { - if (length.Value != -1) { - storeResult.Value = targetString.Value.Substring(startIndex.Value, length.Value); - } else { - storeResult.Value = targetString.Value.Substring(startIndex.Value); - } - return TaskStatus.Success; - } - - public override void OnReset() - { - targetString = ""; - startIndex = 0; - length = -1; - storeResult = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetSubstring.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetSubstring.cs.meta deleted file mode 100644 index 0849def5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/GetSubstring.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6ce20430f88c32b418f29b42531eca4a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/IsNullOrEmpty.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/IsNullOrEmpty.cs deleted file mode 100644 index 21593120..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/IsNullOrEmpty.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityString -{ - [TaskCategory("Basic/String")] - [TaskDescription("Returns success if the string is null or empty")] - public class IsNullOrEmpty : Conditional - { - [Tooltip("The target string")] - public SharedString targetString; - - public override TaskStatus OnUpdate() - { - return string.IsNullOrEmpty(targetString.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetString = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/IsNullOrEmpty.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/IsNullOrEmpty.cs.meta deleted file mode 100644 index 9cb87727..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/IsNullOrEmpty.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f6f4d4c690c09bb48a388f36f4e30245 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Replace.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Replace.cs deleted file mode 100644 index 869df7a5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Replace.cs +++ /dev/null @@ -1,32 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityString -{ - [TaskCategory("Basic/String")] - [TaskDescription("Replaces a string with the new string")] - public class Replace : Action - { - [Tooltip("The target string")] - public SharedString targetString; - [Tooltip("The old replace")] - public SharedString oldString; - [Tooltip("The new string")] - public SharedString newString; - [Tooltip("The stored result")] - [RequiredField] - public SharedString storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = targetString.Value.Replace(oldString.Value, newString.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetString = ""; - oldString = ""; - newString = ""; - storeResult = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Replace.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Replace.cs.meta deleted file mode 100644 index 35f25181..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/Replace.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 30fc7adfdddc39245a433ea477c01adf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/SetString.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/SetString.cs deleted file mode 100644 index 050f3a48..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/SetString.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityString -{ - [TaskCategory("Basic/String")] - [TaskDescription("Sets the variable string to the value string.")] - public class SetString : Action - { - [Tooltip("The target string")] - [RequiredField] - public SharedString variable; - [Tooltip("The value string")] - public SharedString value; - - public override TaskStatus OnUpdate() - { - variable.Value = value.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - variable = ""; - value = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/SetString.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/SetString.cs.meta deleted file mode 100644 index 5c2c6bc4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/String/SetString.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: da59105cbc94b5d4da3c805897f4a099 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time.meta deleted file mode 100644 index bb8379ab..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: d8d2d4d347504b146a2c930a2b806d71 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetDeltaTime.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetDeltaTime.cs deleted file mode 100644 index 75b87840..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetDeltaTime.cs +++ /dev/null @@ -1,23 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTime -{ - [TaskCategory("Basic/Time")] - [TaskDescription("Returns the time in seconds it took to complete the last frame.")] - public class GetDeltaTime : Action - { - [Tooltip("The variable to store the result")] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Time.deltaTime; - return TaskStatus.Success; - } - - public override void OnReset() - { - storeResult.Value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetDeltaTime.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetDeltaTime.cs.meta deleted file mode 100644 index a895d9d5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetDeltaTime.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d9d47b1b40fc1214298a3f6bfdc37e87 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetRealtimeSinceStartup.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetRealtimeSinceStartup.cs deleted file mode 100644 index eb54ab7f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetRealtimeSinceStartup.cs +++ /dev/null @@ -1,23 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTime -{ - [TaskCategory("Basic/Time")] - [TaskDescription("Returns the real time in seconds since the game started.")] - public class GetRealtimeSinceStartup : Action - { - [Tooltip("The variable to store the result")] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Time.realtimeSinceStartup; - return TaskStatus.Success; - } - - public override void OnReset() - { - storeResult.Value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetRealtimeSinceStartup.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetRealtimeSinceStartup.cs.meta deleted file mode 100644 index 9c3e68ec..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetRealtimeSinceStartup.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c265b103d220b0e4fa45138fcd605f62 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTime.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTime.cs deleted file mode 100644 index f0585de6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTime.cs +++ /dev/null @@ -1,23 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTime -{ - [TaskCategory("Basic/Time")] - [TaskDescription("Returns the time in second since the start of the game.")] - public class GetTime : Action - { - [Tooltip("The variable to store the result")] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Time.time; - return TaskStatus.Success; - } - - public override void OnReset() - { - storeResult.Value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTime.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTime.cs.meta deleted file mode 100644 index fe77d1cd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTime.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5afd2ca3dda059243bf7a9156438475e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTimeScale.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTimeScale.cs deleted file mode 100644 index 7e5cf4f5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTimeScale.cs +++ /dev/null @@ -1,23 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTime -{ - [TaskCategory("Basic/Time")] - [TaskDescription("Returns the scale at which time is passing.")] - public class GetTimeScale : Action - { - [Tooltip("The variable to store the result")] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Time.timeScale; - return TaskStatus.Success; - } - - public override void OnReset() - { - storeResult.Value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTimeScale.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTimeScale.cs.meta deleted file mode 100644 index 7835d60c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/GetTimeScale.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 79be8ba43b4c1db468d2476318e7e71a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/SetTimeScale.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/SetTimeScale.cs deleted file mode 100644 index e02937e0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/SetTimeScale.cs +++ /dev/null @@ -1,23 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTime -{ - [TaskCategory("Basic/Time")] - [TaskDescription("Sets the scale at which time is passing.")] - public class SetTimeScale : Action - { - [Tooltip("The timescale")] - public SharedFloat timeScale; - - public override TaskStatus OnUpdate() - { - Time.timeScale = timeScale.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - timeScale.Value = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/SetTimeScale.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/SetTimeScale.cs.meta deleted file mode 100644 index 9987e403..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Time/SetTimeScale.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6283d9f4bb690c64b9d986b6ff1271f0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform.meta deleted file mode 100644 index 022d6cd3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: d2f1ebdae5c7ffb4d8c7a9daa37b5130 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Find.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Find.cs deleted file mode 100644 index 8f45f378..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Find.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Finds a transform by name. Returns Success.")] - public class Find : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The transform name to find")] - public SharedString transformName; - [Tooltip("The object found by name")] - [RequiredField] - public SharedTransform storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.Find(transformName.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - transformName = null; - storeValue = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Find.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Find.cs.meta deleted file mode 100644 index b0220ca3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Find.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 387fd22087393ab4e91f0ad4fce4e77f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/FindChild.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/FindChild.cs deleted file mode 100644 index a6c31655..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/FindChild.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Finds a child transform by name. Returns Success.")] - public class FindChild : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The transform name to find")] - public SharedString transformName; - [Tooltip("The object found by name")] - [RequiredField] - public SharedTransform storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.Find(transformName.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - transformName = null; - storeValue = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/FindChild.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/FindChild.cs.meta deleted file mode 100644 index 7f6d7a53..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/FindChild.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 62d28af7da95a12409245b2682550bcc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetAngleToTarget.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetAngleToTarget.cs deleted file mode 100644 index cee67ccb..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetAngleToTarget.cs +++ /dev/null @@ -1,66 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Gets the Angle between a GameObject's forward direction and a target. Returns Success.")] - public class GetAngleToTarget : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The target object to measure the angle to. If null the targetPosition will be used.")] - public SharedGameObject targetObject; - [Tooltip("The world position to measure an angle to. If the targetObject is also not null, this value is used as an offset from that object's position.")] - public SharedVector3 targetPosition; - [Tooltip("Ignore height differences when calculating the angle?")] - public SharedBool ignoreHeight = true; - [Tooltip("The angle to the target")] - [RequiredField] - public SharedFloat storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - Vector3 targetPos; - if (targetObject.Value != null) { - targetPos = targetObject.Value.transform.InverseTransformPoint(targetPosition.Value); - } else { - targetPos = targetPosition.Value; - } - - if (ignoreHeight.Value) { - targetPos.y = targetTransform.position.y; - } - - var targetDir = targetPos - targetTransform.position; - storeValue.Value = Vector3.Angle(targetDir, targetTransform.forward); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - targetObject = null; - targetPosition = Vector3.zero; - ignoreHeight = true; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetAngleToTarget.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetAngleToTarget.cs.meta deleted file mode 100644 index d34a2704..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetAngleToTarget.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ae176a605fff9a2468198085313c26ad -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChild.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChild.cs deleted file mode 100644 index 337e2341..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChild.cs +++ /dev/null @@ -1,48 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Stores the transform child at the specified index. Returns Success.")] - public class GetChild : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The index of the child")] - public SharedInt index; - [Tooltip("The child of the Transform")] - [RequiredField] - public SharedTransform storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.GetChild(index.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - index = 0; - storeValue = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChild.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChild.cs.meta deleted file mode 100644 index a90dba3a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChild.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 04ea225bb12181a4daf7f3d6a21eaa5d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChildCount.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChildCount.cs deleted file mode 100644 index aca95e80..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChildCount.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Stores the number of children a Transform has. Returns Success.")] - public class GetChildCount : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The number of children")] - [RequiredField] - public SharedInt storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.childCount; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChildCount.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChildCount.cs.meta deleted file mode 100644 index 0ff26358..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetChildCount.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8e31c13112e4d334ab9d67feaac94d3f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetEulerAngles.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetEulerAngles.cs deleted file mode 100644 index a7764a8b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetEulerAngles.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Stores the euler angles of the Transform. Returns Success.")] - public class GetEulerAngles : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The euler angles of the Transform")] - [RequiredField] - public SharedVector3 storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.eulerAngles; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetEulerAngles.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetEulerAngles.cs.meta deleted file mode 100644 index 0118e3b4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetEulerAngles.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 43295a23f5d9cb345ae408d5ac843b52 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetForwardVector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetForwardVector.cs deleted file mode 100644 index 0420db5b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetForwardVector.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Stores the forward vector of the Transform. Returns Success.")] - public class GetForwardVector : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The position of the Transform")] - [RequiredField] - public SharedVector3 storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.forward; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetForwardVector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetForwardVector.cs.meta deleted file mode 100644 index 6bda0d73..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetForwardVector.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a5748c07a5ebe54429eb3e9ae032b5e2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalEulerAngles.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalEulerAngles.cs deleted file mode 100644 index fee24dde..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalEulerAngles.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Stores the local euler angles of the Transform. Returns Success.")] - public class GetLocalEulerAngles : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The local euler angles of the Transform")] - [RequiredField] - public SharedVector3 storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.localEulerAngles; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalEulerAngles.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalEulerAngles.cs.meta deleted file mode 100644 index 40c781a6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalEulerAngles.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 459c793e1b836104f901813471414ccc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalPosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalPosition.cs deleted file mode 100644 index 56737de6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalPosition.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Stores the local position of the Transform. Returns Success.")] - public class GetLocalPosition : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The local position of the Transform")] - [RequiredField] - public SharedVector3 storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.localPosition; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalPosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalPosition.cs.meta deleted file mode 100644 index 57d121c8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalPosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4fdc0d751b2c91f438142cf65fcbba34 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalRotation.cs deleted file mode 100644 index e2572ab1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalRotation.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Stores the local rotation of the Transform. Returns Success.")] - public class GetLocalRotation : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The local rotation of the Transform")] - [RequiredField] - public SharedQuaternion storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.localRotation; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalRotation.cs.meta deleted file mode 100644 index 6cc867c3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2334ddf0e58b67e40ad16e2f63dad8ee -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalScale.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalScale.cs deleted file mode 100644 index bfdc2831..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalScale.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Stores the local scale of the Transform. Returns Success.")] - public class GetLocalScale : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The local scale of the Transform")] - [RequiredField] - public SharedVector3 storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.localScale; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalScale.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalScale.cs.meta deleted file mode 100644 index 115bef16..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetLocalScale.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e0b10fe3fcda1914fbbdde4a860cd403 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetParent.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetParent.cs deleted file mode 100644 index 53f2ee1e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetParent.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Stores the parent of the Transform. Returns Success.")] - public class GetParent : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The parent of the Transform")] - [RequiredField] - public SharedTransform storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.parent; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetParent.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetParent.cs.meta deleted file mode 100644 index 2dffa644..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetParent.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f149245d8fce789498c301657a7eaf88 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetPosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetPosition.cs deleted file mode 100644 index 4a6b9cf1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetPosition.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Stores the position of the Transform. Returns Success.")] - public class GetPosition : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Can the target GameObject be empty?")] - [RequiredField] - public SharedVector3 storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.position; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetPosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetPosition.cs.meta deleted file mode 100644 index 207a32c8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetPosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9ce1fdc3f652b3043b5116efba12cc48 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRightVector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRightVector.cs deleted file mode 100644 index 370d14a9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRightVector.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Stores the right vector of the Transform. Returns Success.")] - public class GetRightVector : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The position of the Transform")] - [RequiredField] - public SharedVector3 storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.right; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRightVector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRightVector.cs.meta deleted file mode 100644 index 202902a1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRightVector.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6b5147164f2674547888db24cba68770 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRotation.cs deleted file mode 100644 index d8a16aec..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRotation.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Stores the rotation of the Transform. Returns Success.")] - public class GetRotation : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The rotation of the Transform")] - [RequiredField] - public SharedQuaternion storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.rotation; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRotation.cs.meta deleted file mode 100644 index ca52e97b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5384b69809f40f5489ca7d7d345471d2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetUpVector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetUpVector.cs deleted file mode 100644 index e557b713..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetUpVector.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Stores the up vector of the Transform. Returns Success.")] - public class GetUpVector : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The position of the Transform")] - [RequiredField] - public SharedVector3 storeValue; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - storeValue.Value = targetTransform.up; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - storeValue = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetUpVector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetUpVector.cs.meta deleted file mode 100644 index 0e6f55a2..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/GetUpVector.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 605a7c93705031042be47bd4a4ab6079 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/IsChildOf.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/IsChildOf.cs deleted file mode 100644 index 4e4886b4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/IsChildOf.cs +++ /dev/null @@ -1,42 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Returns Success if the transform is a child of the specified GameObject.")] - public class IsChildOf : Conditional - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The interested transform")] - public SharedTransform transformName; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - return targetTransform.IsChildOf(transformName.Value) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - transformName = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/IsChildOf.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/IsChildOf.cs.meta deleted file mode 100644 index 9f93239e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/IsChildOf.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 304e488eb1caa4f45a8bd903292492ca -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/LookAt.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/LookAt.cs deleted file mode 100644 index bee3c7a9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/LookAt.cs +++ /dev/null @@ -1,47 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Rotates the transform so the forward vector points at worldPosition. Returns Success.")] - public class LookAt : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Point to look at")] - public SharedVector3 worldPosition; - [Tooltip("Vector specifying the upward direction")] - public Vector3 worldUp; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.LookAt(worldPosition.Value, worldUp); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - worldPosition = Vector3.up; - worldUp = Vector3.up; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/LookAt.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/LookAt.cs.meta deleted file mode 100644 index 6e3189ff..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/LookAt.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 64883614392671f438244b3aa5b91c6c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Rotate.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Rotate.cs deleted file mode 100644 index 267fe653..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Rotate.cs +++ /dev/null @@ -1,47 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Applies a rotation. Returns Success.")] - public class Rotate : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Amount to rotate")] - public SharedVector3 eulerAngles; - [Tooltip("Specifies which axis the rotation is relative to")] - public Space relativeTo = Space.Self; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.Rotate(eulerAngles.Value, relativeTo); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - eulerAngles = Vector3.zero; - relativeTo = Space.Self; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Rotate.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Rotate.cs.meta deleted file mode 100644 index b4a9c387..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Rotate.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: db0cba6372babb541a0da57412963760 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/RotateAround.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/RotateAround.cs deleted file mode 100644 index ac3feb57..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/RotateAround.cs +++ /dev/null @@ -1,50 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Applies a rotation. Returns Success.")] - public class RotateAround : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Point to rotate around")] - public SharedVector3 point; - [Tooltip("Axis to rotate around")] - public SharedVector3 axis; - [Tooltip("Amount to rotate")] - public SharedFloat angle; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.RotateAround(point.Value, axis.Value, angle.Value); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - point = Vector3.zero; - axis = Vector3.zero; - angle = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/RotateAround.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/RotateAround.cs.meta deleted file mode 100644 index 8bd780cc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/RotateAround.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 65cef920fcc4ec449a1e6a29fe79c024 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetEulerAngles.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetEulerAngles.cs deleted file mode 100644 index bc509186..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetEulerAngles.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Sets the euler angles of the Transform. Returns Success.")] - public class SetEulerAngles : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The euler angles of the Transform")] - public SharedVector3 eulerAngles; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.eulerAngles = eulerAngles.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - eulerAngles = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetEulerAngles.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetEulerAngles.cs.meta deleted file mode 100644 index 4a20efd1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetEulerAngles.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: edad3f12ad10ba14aac656b7f431ff31 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetForwardVector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetForwardVector.cs deleted file mode 100644 index 6deec202..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetForwardVector.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Sets the forward vector of the Transform. Returns Success.")] - public class SetForwardVector : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The position of the Transform")] - public SharedVector3 position; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.forward = position.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - position = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetForwardVector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetForwardVector.cs.meta deleted file mode 100644 index 283c1b33..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetForwardVector.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4cf669b5419d7294cb72c90881267c0c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalEulerAngles.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalEulerAngles.cs deleted file mode 100644 index fcb72a1a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalEulerAngles.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Sets the local euler angles of the Transform. Returns Success.")] - public class SetLocalEulerAngles : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The local euler angles of the Transform")] - public SharedVector3 localEulerAngles; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.localEulerAngles = localEulerAngles.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - localEulerAngles = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalEulerAngles.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalEulerAngles.cs.meta deleted file mode 100644 index 644c7104..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalEulerAngles.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2e1ed691ebf9f154e88bb8be7319baad -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalPosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalPosition.cs deleted file mode 100644 index 9ef9f235..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalPosition.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Sets the local position of the Transform. Returns Success.")] - public class SetLocalPosition : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The local position of the Transform")] - public SharedVector3 localPosition; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.localPosition = localPosition.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - localPosition = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalPosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalPosition.cs.meta deleted file mode 100644 index 53cc9193..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalPosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5af08673c7a3bb54c974bb23094d4587 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalRotation.cs deleted file mode 100644 index f21d3b5a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalRotation.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Sets the local rotation of the Transform. Returns Success.")] - public class SetLocalRotation : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The local rotation of the Transform")] - public SharedQuaternion localRotation; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.localRotation = localRotation.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - localRotation = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalRotation.cs.meta deleted file mode 100644 index 26baaac4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: de22c6e6826367540b2f25957757a1d4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalScale.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalScale.cs deleted file mode 100644 index 7b0f68ad..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalScale.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Sets the local scale of the Transform. Returns Success.")] - public class SetLocalScale : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The local scale of the Transform")] - public SharedVector3 localScale; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.localScale = localScale.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - localScale = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalScale.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalScale.cs.meta deleted file mode 100644 index 63025bea..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetLocalScale.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 354ce71974ea2b44ab820c8285f72421 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetParent.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetParent.cs deleted file mode 100644 index 92673a8a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetParent.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Sets the parent of the Transform. Returns Success.")] - public class SetParent : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The parent of the Transform")] - public SharedTransform parent; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.parent = parent.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - parent = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetParent.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetParent.cs.meta deleted file mode 100644 index 17981286..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetParent.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a19c91d6c31b48d45b2ea97efeae14aa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetPosition.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetPosition.cs deleted file mode 100644 index 28bcf0b1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetPosition.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Sets the position of the Transform. Returns Success.")] - public class SetPosition : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The position of the Transform")] - public SharedVector3 position; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.position = position.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - position = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetPosition.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetPosition.cs.meta deleted file mode 100644 index 1273580e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetPosition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d0586a5078618624398df51fd677a2e0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRightVector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRightVector.cs deleted file mode 100644 index 9479a024..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRightVector.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Sets the right vector of the Transform. Returns Success.")] - public class SetRightVector : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The position of the Transform")] - public SharedVector3 position; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.right = position.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - position = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRightVector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRightVector.cs.meta deleted file mode 100644 index a27cf794..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRightVector.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4629bee77af22ca42a716dfa8ad3e669 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRotation.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRotation.cs deleted file mode 100644 index 8885fa78..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRotation.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Sets the rotation of the Transform. Returns Success.")] - public class SetRotation : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The rotation of the Transform")] - public SharedQuaternion rotation; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.rotation = rotation.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - rotation = Quaternion.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRotation.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRotation.cs.meta deleted file mode 100644 index 53f60e32..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fb61cc6175ff14c4d84c3c72541bc30d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetUpVector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetUpVector.cs deleted file mode 100644 index 8edbbc3b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetUpVector.cs +++ /dev/null @@ -1,44 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Sets the up vector of the Transform. Returns Success.")] - public class SetUpVector : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("The position of the Transform")] - public SharedVector3 position; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.up = position.Value; - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - position = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetUpVector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetUpVector.cs.meta deleted file mode 100644 index 4b2cc9fe..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/SetUpVector.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2e65dee462c24694a9835796a770af6e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Translate.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Translate.cs deleted file mode 100644 index bc636713..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Translate.cs +++ /dev/null @@ -1,47 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityTransform -{ - [TaskCategory("Basic/Transform")] - [TaskDescription("Moves the transform in the direction and distance of translation. Returns Success.")] - public class Translate : Action - { - [Tooltip("The GameObject that the task operates on. If null the task GameObject is used.")] - public SharedGameObject targetGameObject; - [Tooltip("Move direction and distance")] - public SharedVector3 translation; - [Tooltip("Specifies which axis the rotation is relative to")] - public Space relativeTo = Space.Self; - - private Transform targetTransform; - private GameObject prevGameObject; - - public override void OnStart() - { - var currentGameObject = GetDefaultGameObject(targetGameObject.Value); - if (currentGameObject != prevGameObject) { - targetTransform = currentGameObject.GetComponent(); - prevGameObject = currentGameObject; - } - } - - public override TaskStatus OnUpdate() - { - if (targetTransform == null) { - Debug.LogWarning("Transform is null"); - return TaskStatus.Failure; - } - - targetTransform.Translate(translation.Value, relativeTo); - - return TaskStatus.Success; - } - - public override void OnReset() - { - targetGameObject = null; - translation = Vector3.zero; - relativeTo = Space.Self; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Translate.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Translate.cs.meta deleted file mode 100644 index 7a7a81b5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Transform/Translate.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d4a788705b79d3745a26867acf47a63a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2.meta deleted file mode 100644 index c6faa103..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: ea5a99c944135bb47be3809004f4ca10 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/ClampMagnitude.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/ClampMagnitude.cs deleted file mode 100644 index c5f623ad..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/ClampMagnitude.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Clamps the magnitude of the Vector2.")] - public class ClampMagnitude : Action - { - [Tooltip("The Vector2 to clamp the magnitude of")] - public SharedVector2 vector2Variable; - [Tooltip("The max length of the magnitude")] - public SharedFloat maxLength; - [Tooltip("The clamp magnitude resut")] - [RequiredField] - public SharedVector2 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector2.ClampMagnitude(vector2Variable.Value, maxLength.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - vector2Variable = storeResult = Vector2.zero; - maxLength = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/ClampMagnitude.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/ClampMagnitude.cs.meta deleted file mode 100644 index e11a61d7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/ClampMagnitude.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a2a5d2ecd681ef64ea5b5fbf81cc0b2d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Distance.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Distance.cs deleted file mode 100644 index 2cbd2c92..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Distance.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Returns the distance between two Vector2s.")] - public class Distance : Action - { - [Tooltip("The first Vector2")] - public SharedVector2 firstVector2; - [Tooltip("The second Vector2")] - public SharedVector2 secondVector2; - [Tooltip("The distance")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector2.Distance(firstVector2.Value, secondVector2.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - firstVector2 = secondVector2 = Vector2.zero; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Distance.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Distance.cs.meta deleted file mode 100644 index 389ce4b6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Distance.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a35c2cb53a768894f8d81c2e8dc87b9b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Dot.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Dot.cs deleted file mode 100644 index 4af9ad76..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Dot.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Stores the dot product of two Vector2 values.")] - public class Dot : Action - { - [Tooltip("The left hand side of the dot product")] - public SharedVector2 leftHandSide; - [Tooltip("The right hand side of the dot product")] - public SharedVector2 rightHandSide; - [Tooltip("The dot product result")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector2.Dot(leftHandSide.Value, rightHandSide.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - leftHandSide = rightHandSide = Vector2.zero; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Dot.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Dot.cs.meta deleted file mode 100644 index 6b58750a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Dot.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c9c233b5173aece4493146b736d4e65d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetMagnitude.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetMagnitude.cs deleted file mode 100644 index 859ad120..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetMagnitude.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Stores the magnitude of the Vector2.")] - public class GetMagnitude : Action - { - [Tooltip("The Vector2 to get the magnitude of")] - public SharedVector2 vector2Variable; - [Tooltip("The magnitude of the vector")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = vector2Variable.Value.magnitude; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector2Variable = Vector2.zero; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetMagnitude.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetMagnitude.cs.meta deleted file mode 100644 index 6f801cb5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetMagnitude.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 64a63651c7294144197858c8b6387b49 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetRightVector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetRightVector.cs deleted file mode 100644 index cf72120f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetRightVector.cs +++ /dev/null @@ -1,24 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Stores the right vector value.")] - public class GetRightVector : Action - { - [Tooltip("The stored result")] - [RequiredField] - public SharedVector2 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector2.right; - return TaskStatus.Success; - } - - public override void OnReset() - { - storeResult = Vector2.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetRightVector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetRightVector.cs.meta deleted file mode 100644 index 94690766..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetRightVector.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f46062197c393bb4a809f7faf8e9fc70 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetSqrMagnitude.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetSqrMagnitude.cs deleted file mode 100644 index d9e14486..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetSqrMagnitude.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Stores the square magnitude of the Vector2.")] - public class GetSqrMagnitude : Action - { - [Tooltip("The Vector2 to get the square magnitude of")] - public SharedVector2 vector2Variable; - [Tooltip("The square magnitude of the vector")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = vector2Variable.Value.sqrMagnitude; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector2Variable = Vector2.zero; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetSqrMagnitude.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetSqrMagnitude.cs.meta deleted file mode 100644 index 07dbd02b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetSqrMagnitude.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5366ccb4258ea7f49ae280d05d2a195c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetUpVector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetUpVector.cs deleted file mode 100644 index 0cd73e00..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetUpVector.cs +++ /dev/null @@ -1,24 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Stores the up vector value.")] - public class GetUpVector : Action - { - [Tooltip("The stored result")] - [RequiredField] - public SharedVector2 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector2.up; - return TaskStatus.Success; - } - - public override void OnReset() - { - storeResult = Vector2.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetUpVector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetUpVector.cs.meta deleted file mode 100644 index 0d51499d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetUpVector.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7ec54e34058d3a04dbd9ed27538731b0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetVector3.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetVector3.cs deleted file mode 100644 index f4d024f0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetVector3.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Stores the Vector3 value of the Vector2.")] - public class GetVector3 : Action - { - [Tooltip("The Vector2 to get the Vector3 value of")] - public SharedVector2 vector3Variable; - [Tooltip("The Vector3 value")] - [RequiredField] - public SharedVector3 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = vector3Variable.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector3Variable = Vector2.zero; - storeResult = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetVector3.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetVector3.cs.meta deleted file mode 100644 index f5233585..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetVector3.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 89ba2f45bfecb9c40a4de0394c8019e0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetXY.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetXY.cs deleted file mode 100644 index a9bae4d0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetXY.cs +++ /dev/null @@ -1,31 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Stores the X and Y values of the Vector2.")] - public class GetXY : Action - { - [Tooltip("The Vector2 to get the values of")] - public SharedVector2 vector2Variable; - [Tooltip("The X value")] - [RequiredField] - public SharedFloat storeX; - [Tooltip("The Y value")] - [RequiredField] - public SharedFloat storeY; - - public override TaskStatus OnUpdate() - { - storeX.Value = vector2Variable.Value.x; - storeY.Value = vector2Variable.Value.y; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector2Variable = Vector2.zero; - storeX = storeY = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetXY.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetXY.cs.meta deleted file mode 100644 index 8a640ee7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/GetXY.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e258a57c9873ecf4fb8a1432e418ecb4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Lerp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Lerp.cs deleted file mode 100644 index 32c71287..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Lerp.cs +++ /dev/null @@ -1,31 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Lerp the Vector2 by an amount.")] - public class Lerp : Action - { - [Tooltip("The from value")] - public SharedVector2 fromVector2; - [Tooltip("The to value")] - public SharedVector2 toVector2; - [Tooltip("The amount to lerp")] - public SharedFloat lerpAmount; - [Tooltip("The lerp resut")] - [RequiredField] - public SharedVector2 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector2.Lerp(fromVector2.Value, toVector2.Value, lerpAmount.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - fromVector2 = toVector2 = storeResult = Vector2.zero; - lerpAmount = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Lerp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Lerp.cs.meta deleted file mode 100644 index 35226670..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Lerp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6f709035ad060c04d9f758980ad7e2c3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/MoveTowards.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/MoveTowards.cs deleted file mode 100644 index c84fd517..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/MoveTowards.cs +++ /dev/null @@ -1,31 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Move from the current position to the target position.")] - public class MoveTowards : Action - { - [Tooltip("The current position")] - public SharedVector2 currentPosition; - [Tooltip("The target position")] - public SharedVector2 targetPosition; - [Tooltip("The movement speed")] - public SharedFloat speed; - [Tooltip("The move resut")] - [RequiredField] - public SharedVector2 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector2.MoveTowards(currentPosition.Value, targetPosition.Value, speed.Value * Time.deltaTime); - return TaskStatus.Success; - } - - public override void OnReset() - { - currentPosition = targetPosition = storeResult = Vector2.zero; - speed = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/MoveTowards.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/MoveTowards.cs.meta deleted file mode 100644 index f07218be..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/MoveTowards.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ab464382cafa087498bef68f6988dff7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Multiply.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Multiply.cs deleted file mode 100644 index 3fccd123..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Multiply.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Multiply the Vector2 by a float.")] - public class Multiply : Action - { - [Tooltip("The Vector2 to multiply of")] - public SharedVector2 vector2Variable; - [Tooltip("The value to multiply the Vector2 of")] - public SharedFloat multiplyBy; - [Tooltip("The multiplication resut")] - [RequiredField] - public SharedVector2 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = vector2Variable.Value * multiplyBy.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector2Variable = storeResult = Vector2.zero; - multiplyBy = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Multiply.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Multiply.cs.meta deleted file mode 100644 index d736ec3d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Multiply.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7f21148eaa498684baa11ac8ac177599 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Normalize.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Normalize.cs deleted file mode 100644 index cdd999b0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Normalize.cs +++ /dev/null @@ -1,26 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Normalize the Vector2.")] - public class Normalize : Action - { - [Tooltip("The Vector2 to normalize")] - public SharedVector2 vector2Variable; - [Tooltip("The normalized resut")] - [RequiredField] - public SharedVector2 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = vector2Variable.Value.normalized; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector2Variable = storeResult = Vector2.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Normalize.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Normalize.cs.meta deleted file mode 100644 index 6d170e15..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Normalize.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ed5b59611a512984f9755c358afc67d8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Operator.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Operator.cs deleted file mode 100644 index 36d9a29f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Operator.cs +++ /dev/null @@ -1,47 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Performs a math operation on two Vector2s: Add, Subtract, Multiply, Divide, Min, or Max.")] - public class Operator : Action - { - public enum Operation - { - Add, - Subtract, - Scale - } - - [Tooltip("The operation to perform")] - public Operation operation; - [Tooltip("The first Vector2")] - public SharedVector2 firstVector2; - [Tooltip("The second Vector2")] - public SharedVector2 secondVector2; - [Tooltip("The variable to store the result")] - public SharedVector2 storeResult; - - public override TaskStatus OnUpdate() - { - switch (operation) { - case Operation.Add: - storeResult.Value = firstVector2.Value + secondVector2.Value; - break; - case Operation.Subtract: - storeResult.Value = firstVector2.Value - secondVector2.Value; - break; - case Operation.Scale: - storeResult.Value = Vector2.Scale(firstVector2.Value, secondVector2.Value); - break; - } - return TaskStatus.Success; - } - - public override void OnReset() - { - operation = Operation.Add; - firstVector2 = secondVector2 = storeResult = Vector2.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Operator.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Operator.cs.meta deleted file mode 100644 index 7414ab28..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/Operator.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2ae8ac6f41714174fa63df41c7e32019 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetValue.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetValue.cs deleted file mode 100644 index 98c9d496..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetValue.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Sets the value of the Vector2.")] - public class SetValue : Action - { - [Tooltip("The Vector2 to get the values of")] - public SharedVector2 vector2Value; - [Tooltip("The Vector2 to set the values of")] - public SharedVector2 vector2Variable; - - public override TaskStatus OnUpdate() - { - vector2Variable.Value = vector2Value.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector2Value = vector2Variable = Vector2.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetValue.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetValue.cs.meta deleted file mode 100644 index 44d21ec4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetValue.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 61e3d384c43977148b829dab4090ab3b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetXY.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetXY.cs deleted file mode 100644 index a4035d0f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetXY.cs +++ /dev/null @@ -1,35 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector2 -{ - [TaskCategory("Basic/Vector2")] - [TaskDescription("Sets the X and Y values of the Vector2.")] - public class SetXY : Action - { - [Tooltip("The Vector2 to set the values of")] - public SharedVector2 vector2Variable; - [Tooltip("The X value. Set to None to have the value ignored")] - public SharedFloat xValue; - [Tooltip("The Y value. Set to None to have the value ignored")] - public SharedFloat yValue; - - public override TaskStatus OnUpdate() - { - var vector2Value = vector2Variable.Value; - if (!xValue.IsNone) { - vector2Value.x = xValue.Value; - } - if (!yValue.IsNone) { - vector2Value.y = yValue.Value; - } - vector2Variable.Value = vector2Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector2Variable = Vector2.zero; - xValue = yValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetXY.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetXY.cs.meta deleted file mode 100644 index c7e52233..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector2/SetXY.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a24836a22bca9bd4ab701e35bf36f6a9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3.meta deleted file mode 100644 index 8133f780..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 65391955a7357ef4e82aa0214dc9b407 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Angle.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Angle.cs deleted file mode 100644 index 910ee6fe..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Angle.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Returns the angle between two Vector3s.")] - public class Angle : Action - { - [Tooltip("The first Vector3")] - public SharedVector3 firstVector3; - [Tooltip("The second Vector3")] - public SharedVector3 secondVector3; - [Tooltip("The angle")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector3.Angle(firstVector3.Value, secondVector3.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - firstVector3 = secondVector3 = Vector3.zero; - storeResult = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Angle.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Angle.cs.meta deleted file mode 100644 index 60a69e2f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Angle.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1e3b18a7f2f7db54992b881f449091ad -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/ClampMagnitude.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/ClampMagnitude.cs deleted file mode 100644 index c2a7c261..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/ClampMagnitude.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Clamps the magnitude of the Vector3.")] - public class ClampMagnitude : Action - { - [Tooltip("The Vector3 to clamp the magnitude of")] - public SharedVector3 vector3Variable; - [Tooltip("The max length of the magnitude")] - public SharedFloat maxLength; - [Tooltip("The clamp magnitude resut")] - [RequiredField] - public SharedVector3 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector3.ClampMagnitude(vector3Variable.Value, maxLength.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - vector3Variable = storeResult = Vector3.zero; - maxLength = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/ClampMagnitude.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/ClampMagnitude.cs.meta deleted file mode 100644 index 5d1bc9d7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/ClampMagnitude.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e3d2efd14a9499b47a17ea16bf45512f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Distance.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Distance.cs deleted file mode 100644 index d8777328..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Distance.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Returns the distance between two Vector3s.")] - public class Distance : Action - { - [Tooltip("The first Vector3")] - public SharedVector3 firstVector3; - [Tooltip("The second Vector3")] - public SharedVector3 secondVector3; - [Tooltip("The distance")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector3.Distance(firstVector3.Value, secondVector3.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - firstVector3 = secondVector3 = Vector3.zero; - storeResult = 0; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Distance.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Distance.cs.meta deleted file mode 100644 index fbe88045..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Distance.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8c4522b996b52d040822fb808cfc9d97 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Dot.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Dot.cs deleted file mode 100644 index 37daaa41..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Dot.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Stores the dot product of two Vector3 values.")] - public class Dot : Action - { - [Tooltip("The left hand side of the dot product")] - public SharedVector3 leftHandSide; - [Tooltip("The right hand side of the dot product")] - public SharedVector3 rightHandSide; - [Tooltip("The dot product result")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector3.Dot(leftHandSide.Value, rightHandSide.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - leftHandSide = rightHandSide = Vector3.zero; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Dot.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Dot.cs.meta deleted file mode 100644 index de0a620f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Dot.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fe5e2655abffbe94eba3f6a0abd34b5c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetForwardVector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetForwardVector.cs deleted file mode 100644 index 12c8b6fc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetForwardVector.cs +++ /dev/null @@ -1,24 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Stores the forward vector value.")] - public class GetForwardVector : Action - { - [Tooltip("The stored result")] - [RequiredField] - public SharedVector3 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector3.forward; - return TaskStatus.Success; - } - - public override void OnReset() - { - storeResult = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetForwardVector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetForwardVector.cs.meta deleted file mode 100644 index 599a8210..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetForwardVector.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b09c11f987794eb45b65e0ef249cdb3f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetMagnitude.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetMagnitude.cs deleted file mode 100644 index 9bf51c68..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetMagnitude.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Stores the magnitude of the Vector3.")] - public class GetMagnitude : Action - { - [Tooltip("The Vector3 to get the magnitude of")] - public SharedVector3 vector3Variable; - [Tooltip("The magnitude of the vector")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = vector3Variable.Value.magnitude; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector3Variable = Vector3.zero; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetMagnitude.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetMagnitude.cs.meta deleted file mode 100644 index c06d20e0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetMagnitude.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dcf2397966692fe4a819a0db18186778 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetRightVector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetRightVector.cs deleted file mode 100644 index ee8b33cf..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetRightVector.cs +++ /dev/null @@ -1,24 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Stores the right vector value.")] - public class GetRightVector : Action - { - [Tooltip("The stored result")] - [RequiredField] - public SharedVector3 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector3.right; - return TaskStatus.Success; - } - - public override void OnReset() - { - storeResult = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetRightVector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetRightVector.cs.meta deleted file mode 100644 index 654a6945..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetRightVector.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ca338b1189144fe47ab9b1fa6a54e970 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetSqrMagnitude.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetSqrMagnitude.cs deleted file mode 100644 index 99fe0e2c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetSqrMagnitude.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Stores the square magnitude of the Vector3.")] - public class GetSqrMagnitude : Action - { - [Tooltip("The Vector3 to get the square magnitude of")] - public SharedVector3 vector3Variable; - [Tooltip("The square magnitude of the vector")] - [RequiredField] - public SharedFloat storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = vector3Variable.Value.sqrMagnitude; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector3Variable = Vector3.zero; - storeResult = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetSqrMagnitude.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetSqrMagnitude.cs.meta deleted file mode 100644 index 56daef6a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetSqrMagnitude.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fb704714eacb92948bd59ddd38865b59 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetUpVector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetUpVector.cs deleted file mode 100644 index b6d270ae..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetUpVector.cs +++ /dev/null @@ -1,24 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Stores the up vector value.")] - public class GetUpVector : Action - { - [Tooltip("The stored result")] - [RequiredField] - public SharedVector3 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector3.up; - return TaskStatus.Success; - } - - public override void OnReset() - { - storeResult = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetUpVector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetUpVector.cs.meta deleted file mode 100644 index 9601373f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetUpVector.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 225a4566a02bdec4e82a2335b4e6c5fc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetVector2.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetVector2.cs deleted file mode 100644 index db33cebd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetVector2.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Stores the Vector2 value of the Vector3.")] - public class GetVector2 : Action - { - [Tooltip("The Vector3 to get the Vector2 value of")] - public SharedVector3 vector3Variable; - [Tooltip("The Vector2 value")] - [RequiredField] - public SharedVector2 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = vector3Variable.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector3Variable = Vector3.zero; - storeResult = Vector2.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetVector2.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetVector2.cs.meta deleted file mode 100644 index 76cebfab..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetVector2.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 959ed107c681b1c44af1b842ed7ca445 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetXYZ.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetXYZ.cs deleted file mode 100644 index efed738a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetXYZ.cs +++ /dev/null @@ -1,35 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Stores the X, Y, and Z values of the Vector3.")] - public class GetXYZ : Action - { - [Tooltip("The Vector3 to get the values of")] - public SharedVector3 vector3Variable; - [Tooltip("The X value")] - [RequiredField] - public SharedFloat storeX; - [Tooltip("The Y value")] - [RequiredField] - public SharedFloat storeY; - [Tooltip("The Z value")] - [RequiredField] - public SharedFloat storeZ; - - public override TaskStatus OnUpdate() - { - storeX.Value = vector3Variable.Value.x; - storeY.Value = vector3Variable.Value.y; - storeZ.Value = vector3Variable.Value.z; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector3Variable = Vector3.zero; - storeX = storeY = storeZ = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetXYZ.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetXYZ.cs.meta deleted file mode 100644 index 5cee68be..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/GetXYZ.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fbab043af227fe14e8875a1df65cbae4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Lerp.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Lerp.cs deleted file mode 100644 index 4819bc78..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Lerp.cs +++ /dev/null @@ -1,31 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Lerp the Vector3 by an amount.")] - public class Lerp : Action - { - [Tooltip("The from value")] - public SharedVector3 fromVector3; - [Tooltip("The to value")] - public SharedVector3 toVector3; - [Tooltip("The amount to lerp")] - public SharedFloat lerpAmount; - [Tooltip("The lerp resut")] - [RequiredField] - public SharedVector3 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector3.Lerp(fromVector3.Value, toVector3.Value, lerpAmount.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - fromVector3 = toVector3 = storeResult = Vector3.zero; - lerpAmount = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Lerp.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Lerp.cs.meta deleted file mode 100644 index 3304331f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Lerp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ef769062529820342a12a00e9cf8611d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/MoveTowards.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/MoveTowards.cs deleted file mode 100644 index 75d80cc4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/MoveTowards.cs +++ /dev/null @@ -1,31 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Move from the current position to the target position.")] - public class MoveTowards : Action - { - [Tooltip("The current position")] - public SharedVector3 currentPosition; - [Tooltip("The target position")] - public SharedVector3 targetPosition; - [Tooltip("The movement speed")] - public SharedFloat speed; - [Tooltip("The move resut")] - [RequiredField] - public SharedVector3 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector3.MoveTowards(currentPosition.Value, targetPosition.Value, speed.Value * Time.deltaTime); - return TaskStatus.Success; - } - - public override void OnReset() - { - currentPosition = targetPosition = storeResult = Vector3.zero; - speed = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/MoveTowards.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/MoveTowards.cs.meta deleted file mode 100644 index 7e9c4c19..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/MoveTowards.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b6562a7b02f6ab1478612f41defc5299 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Multiply.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Multiply.cs deleted file mode 100644 index 9c693267..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Multiply.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Multiply the Vector3 by a float.")] - public class Multiply : Action - { - [Tooltip("The Vector3 to multiply of")] - public SharedVector3 vector3Variable; - [Tooltip("The value to multiply the Vector3 of")] - public SharedFloat multiplyBy; - [Tooltip("The multiplication resut")] - [RequiredField] - public SharedVector3 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = vector3Variable.Value * multiplyBy.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector3Variable = storeResult = Vector3.zero; - multiplyBy = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Multiply.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Multiply.cs.meta deleted file mode 100644 index 7bde7ce4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Multiply.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1d1d7bd2678e229468abd363ac4a3dd6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Normalize.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Normalize.cs deleted file mode 100644 index 64c583b7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Normalize.cs +++ /dev/null @@ -1,26 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Normalize the Vector3.")] - public class Normalize : Action - { - [Tooltip("The Vector3 to normalize")] - public SharedVector3 vector3Variable; - [Tooltip("The normalized resut")] - [RequiredField] - public SharedVector3 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector3.Normalize(vector3Variable.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - vector3Variable = storeResult = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Normalize.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Normalize.cs.meta deleted file mode 100644 index 5cde0a68..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Normalize.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bc8d58dc29ef6ab49a11e77f517e30ca -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Operator.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Operator.cs deleted file mode 100644 index fbb467ef..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Operator.cs +++ /dev/null @@ -1,47 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Performs a math operation on two Vector3s: Add, Subtract, Multiply, Divide, Min, or Max.")] - public class Operator : Action - { - public enum Operation - { - Add, - Subtract, - Scale - } - - [Tooltip("The operation to perform")] - public Operation operation; - [Tooltip("The first Vector3")] - public SharedVector3 firstVector3; - [Tooltip("The second Vector3")] - public SharedVector3 secondVector3; - [Tooltip("The variable to store the result")] - public SharedVector3 storeResult; - - public override TaskStatus OnUpdate() - { - switch (operation) { - case Operation.Add: - storeResult.Value = firstVector3.Value + secondVector3.Value; - break; - case Operation.Subtract: - storeResult.Value = firstVector3.Value - secondVector3.Value; - break; - case Operation.Scale: - storeResult.Value = Vector3.Scale(firstVector3.Value, secondVector3.Value); - break; - } - return TaskStatus.Success; - } - - public override void OnReset() - { - operation = Operation.Add; - firstVector3 = secondVector3 = storeResult = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Operator.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Operator.cs.meta deleted file mode 100644 index 96cbfbd6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/Operator.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 606d84afee1cfbe4892d452884d36be8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/RotateTowards.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/RotateTowards.cs deleted file mode 100644 index e012d875..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/RotateTowards.cs +++ /dev/null @@ -1,33 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Rotate the current rotation to the target rotation.")] - public class RotateTowards : Action - { - [Tooltip("The current rotation in euler angles")] - public SharedVector3 currentRotation; - [Tooltip("The target rotation in euler angles")] - public SharedVector3 targetRotation; - [Tooltip("The maximum delta of the degrees")] - public SharedFloat maxDegreesDelta; - [Tooltip("The maximum delta of the magnitude")] - public SharedFloat maxMagnitudeDelta; - [Tooltip("The rotation resut")] - [RequiredField] - public SharedVector3 storeResult; - - public override TaskStatus OnUpdate() - { - storeResult.Value = Vector3.RotateTowards(currentRotation.Value, targetRotation.Value, maxDegreesDelta.Value * Mathf.Deg2Rad * Time.deltaTime, maxMagnitudeDelta.Value); - return TaskStatus.Success; - } - - public override void OnReset() - { - currentRotation = targetRotation = storeResult = Vector3.zero; - maxDegreesDelta = maxMagnitudeDelta = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/RotateTowards.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/RotateTowards.cs.meta deleted file mode 100644 index 5847704a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/RotateTowards.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 55175ed9420ee88429fbb91a9b433b9c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetValue.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetValue.cs deleted file mode 100644 index 20034af0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetValue.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Sets the value of the Vector3.")] - public class SetValue : Action - { - [Tooltip("The Vector3 to get the values of")] - public SharedVector3 vector3Value; - [Tooltip("The Vector3 to set the values of")] - public SharedVector3 vector3Variable; - - public override TaskStatus OnUpdate() - { - vector3Variable.Value = vector3Value.Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector3Value = vector3Variable = Vector3.zero; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetValue.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetValue.cs.meta deleted file mode 100644 index d574f5ee..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetValue.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d512a8eb2bde4ea49868fdd746dafb0d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetXYZ.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetXYZ.cs deleted file mode 100644 index 82d466ca..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetXYZ.cs +++ /dev/null @@ -1,40 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityVector3 -{ - [TaskCategory("Basic/Vector3")] - [TaskDescription("Sets the X, Y, and Z values of the Vector3.")] - public class SetXYZ : Action - { - [Tooltip("The Vector3 to set the values of")] - public SharedVector3 vector3Variable; - [Tooltip("The X value. Set to None to have the value ignored")] - public SharedFloat xValue; - [Tooltip("The Y value. Set to None to have the value ignored")] - public SharedFloat yValue; - [Tooltip("The Z value. Set to None to have the value ignored")] - public SharedFloat zValue; - - public override TaskStatus OnUpdate() - { - var vector3Value = vector3Variable.Value; - if (!xValue.IsNone) { - vector3Value.x = xValue.Value; - } - if (!yValue.IsNone) { - vector3Value.y = yValue.Value; - } - if (!zValue.IsNone) { - vector3Value.z = zValue.Value; - } - vector3Variable.Value = vector3Value; - return TaskStatus.Success; - } - - public override void OnReset() - { - vector3Variable = Vector3.zero; - xValue = yValue = zValue = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetXYZ.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetXYZ.cs.meta deleted file mode 100644 index 56cef77b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Basic Tasks/Vector3/SetXYZ.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: efcd4530935b0c445804e64d0820f27b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/BehaviorDesignerRuntime.dll b/Assets/ThirdParty/Behavior Designer/Runtime/BehaviorDesignerRuntime.dll deleted file mode 100644 index 13c2c25e..00000000 Binary files a/Assets/ThirdParty/Behavior Designer/Runtime/BehaviorDesignerRuntime.dll and /dev/null differ diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/BehaviorDesignerRuntime.dll.meta b/Assets/ThirdParty/Behavior Designer/Runtime/BehaviorDesignerRuntime.dll.meta deleted file mode 100644 index 1c32fa46..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/BehaviorDesignerRuntime.dll.meta +++ /dev/null @@ -1,22 +0,0 @@ -fileFormatVersion: 2 -guid: 1575c1ccf5c9d9b4880372d854f9fcd4 -PluginImporter: - serializedVersion: 1 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - platformData: - Any: - enabled: 1 - settings: {} - Editor: - enabled: 0 - settings: - DefaultValueInitialized: true - WindowsStoreApps: - enabled: 0 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/BehaviorTree.cs b/Assets/ThirdParty/Behavior Designer/Runtime/BehaviorTree.cs deleted file mode 100644 index 868201b1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/BehaviorTree.cs +++ /dev/null @@ -1,11 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime -{ - // Wrapper for the Behavior class - [AddComponentMenu("Behavior Designer/Behavior Tree")] - public class BehaviorTree : Behavior - { - // intentionally left blank - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/BehaviorTree.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/BehaviorTree.cs.meta deleted file mode 100644 index 9b13e097..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/BehaviorTree.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8d7b55c7ecdb49a4a89fa5e6f9022861 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Composites.meta deleted file mode 100644 index 546cbf1d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites.meta +++ /dev/null @@ -1,2 +0,0 @@ -fileFormatVersion: 2 -guid: 0728f016e441f9a48b8da3084d5668c9 diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Parallel.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Parallel.cs deleted file mode 100644 index 79969d26..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Parallel.cs +++ /dev/null @@ -1,87 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Similar to the sequence task, the parallel task will run each child task until a child task returns failure. " + - "The difference is that the parallel task will run all of its children tasks simultaneously versus running each task one at a time. " + - "Like the sequence class, the parallel task will return success once all of its children tasks have return success. " + - "If one tasks returns failure the parallel task will end all of the child tasks and return failure.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=27")] - [TaskIcon("{SkinColor}ParallelIcon.png")] - public class Parallel : Composite - { - // The index of the child that is currently running or is about to run. - private int currentChildIndex; - // The task status of every child task. - private TaskStatus[] executionStatus; - - public override void OnAwake() - { - // Create a new task status array that will hold the execution status of all of the children tasks. - executionStatus = new TaskStatus[children.Count]; - } - - public override void OnChildStarted(int childIndex) - { - // One of the children has started to run. Increment the child index and set the current task status of that child to running. - currentChildIndex++; - executionStatus[childIndex] = TaskStatus.Running; - } - - public override bool CanRunParallelChildren() - { - // This task can run parallel children. - return true; - } - - public override int CurrentChildIndex() - { - return currentChildIndex; - } - - public override bool CanExecute() - { - // We can continue executing if we have more children that haven't been started yet. - return currentChildIndex < children.Count; - } - - public override void OnChildExecuted(int childIndex, TaskStatus childStatus) - { - // One of the children has finished running. Set the task status. - executionStatus[childIndex] = childStatus; - } - - public override TaskStatus OverrideStatus(TaskStatus status) - { - // Assume all of the children have finished executing. Loop through the execution status of every child and check to see if any tasks are currently running - // or failed. If a task is still running then all of the children are not done executing and the parallel task should continue to return a task status of running. - // If a task failed then return failure. The Behavior Manager will stop all of the children tasks. If no child task is running or has failed then the parallel - // task succeeded and it will return success. - bool childrenComplete = true; - for (int i = 0; i < executionStatus.Length; ++i) { - if (executionStatus[i] == TaskStatus.Running) { - childrenComplete = false; - } else if (executionStatus[i] == TaskStatus.Failure) { - return TaskStatus.Failure; - } - } - return (childrenComplete ? TaskStatus.Success : TaskStatus.Running); - } - - public override void OnConditionalAbort(int childIndex) - { - // Start from the beginning on an abort - currentChildIndex = 0; - for (int i = 0; i < executionStatus.Length; ++i) { - executionStatus[i] = TaskStatus.Inactive; - } - } - - public override void OnEnd() - { - // Reset the execution status and the child index back to their starting values. - for (int i = 0; i < executionStatus.Length; ++i) { - executionStatus[i] = TaskStatus.Inactive; - } - currentChildIndex = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Parallel.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Parallel.cs.meta deleted file mode 100644 index 4d4def85..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Parallel.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4a7063721a0dbc04787bec1b0507f9ae -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelComplete.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelComplete.cs deleted file mode 100644 index cfbab87a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelComplete.cs +++ /dev/null @@ -1,81 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Similar to the parallel selector task, except the parallel complete task will return the child status as soon as the child returns success or failure." + - "The child tasks are executed simultaneously.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=136")] - [TaskIcon("{SkinColor}ParallelCompleteIcon.png")] - public class ParallelComplete : Composite - { - // The index of the child that is currently running or is about to run. - private int currentChildIndex; - // The task status of every child task. - private TaskStatus[] executionStatus; - - public override void OnAwake() - { - // Create a new task status array that will hold the execution status of all of the children tasks. - executionStatus = new TaskStatus[children.Count]; - } - - public override void OnChildStarted(int childIndex) - { - // One of the children has started to run. Increment the child index and set the current task status of that child to running. - currentChildIndex++; - executionStatus[childIndex] = TaskStatus.Running; - } - - public override bool CanRunParallelChildren() - { - // This task can run parallel children. - return true; - } - - public override int CurrentChildIndex() - { - return currentChildIndex; - } - - public override bool CanExecute() - { - // We can continue executing if we have more children that haven't been started yet. - return currentChildIndex < children.Count; - } - - public override void OnChildExecuted(int childIndex, TaskStatus childStatus) - { - // One of the children has finished running. Set the task status. - executionStatus[childIndex] = childStatus; - } - - public override void OnConditionalAbort(int childIndex) - { - // Start from the beginning on an abort - currentChildIndex = 0; - for (int i = 0; i < executionStatus.Length; ++i) { - executionStatus[i] = TaskStatus.Inactive; - } - } - - public override TaskStatus OverrideStatus(TaskStatus status) - { - // Return the child task's status as soon as a child task returns success or failure. - for (int i = 0; i < executionStatus.Length; ++i) { - if (executionStatus[i] == TaskStatus.Success || executionStatus[i] == TaskStatus.Failure) { - return executionStatus[i]; - } else if (executionStatus[i] == TaskStatus.Inactive) { - return TaskStatus.Success; - } - } - return TaskStatus.Running; - } - - public override void OnEnd() - { - // Reset the execution status and the child index back to their starting values. - for (int i = 0; i < executionStatus.Length; ++i) { - executionStatus[i] = TaskStatus.Inactive; - } - currentChildIndex = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelComplete.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelComplete.cs.meta deleted file mode 100644 index fc7dd0a8..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelComplete.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ef4b3eb51f6ede04bba3598677fe8531 -timeCreated: 1487379311 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelSelector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelSelector.cs deleted file mode 100644 index 13e6624a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelSelector.cs +++ /dev/null @@ -1,87 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Similar to the selector task, the parallel selector task will return success as soon as a child task returns success. " + - "The difference is that the parallel task will run all of its children tasks simultaneously versus running each task one at a time. " + - "If one tasks returns success the parallel selector task will end all of the child tasks and return success. " + - "If every child task returns failure then the parallel selector task will return failure.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=28")] - [TaskIcon("{SkinColor}ParallelSelectorIcon.png")] - public class ParallelSelector : Composite - { - // The index of the child that is currently running or is about to run. - private int currentChildIndex; - // The task status of every child task. - private TaskStatus[] executionStatus; - - public override void OnAwake() - { - // Create a new task status array that will hold the execution status of all of the children tasks. - executionStatus = new TaskStatus[children.Count]; - } - - public override void OnChildStarted(int childIndex) - { - // One of the children has started to run. Increment the child index and set the current task status of that child to running. - currentChildIndex++; - executionStatus[childIndex] = TaskStatus.Running; - } - - public override bool CanRunParallelChildren() - { - // This task can run parallel children. - return true; - } - - public override int CurrentChildIndex() - { - return currentChildIndex; - } - - public override bool CanExecute() - { - // We can continue executing if we have more children that haven't been started yet. - return currentChildIndex < children.Count; - } - - public override void OnChildExecuted(int childIndex, TaskStatus childStatus) - { - // One of the children has finished running. Set the task status. - executionStatus[childIndex] = childStatus; - } - - public override void OnConditionalAbort(int childIndex) - { - // Start from the beginning on an abort - currentChildIndex = 0; - for (int i = 0; i < executionStatus.Length; ++i) { - executionStatus[i] = TaskStatus.Inactive; - } - } - - public override TaskStatus OverrideStatus(TaskStatus status) - { - // Assume all of the children have finished executing. Loop through the execution status of every child and check to see if any tasks are currently running - // or succeeded. If a task is still running then all of the children are not done executing and the parallel selector task should continue to return a task status of running. - // If a task succeeded then return success. The Behavior Manager will stop all of the children tasks. If no child task is running or has succeeded then the parallel selector - // task failed and it will return failure. - bool childrenComplete = true; - for (int i = 0; i < executionStatus.Length; ++i) { - if (executionStatus[i] == TaskStatus.Running) { - childrenComplete = false; - } else if (executionStatus[i] == TaskStatus.Success) { - return TaskStatus.Success; - } - } - return (childrenComplete ? TaskStatus.Failure : TaskStatus.Running); - } - - public override void OnEnd() - { - // Reset the execution status and the child index back to their starting values. - for (int i = 0; i < executionStatus.Length; ++i) { - executionStatus[i] = TaskStatus.Inactive; - } - currentChildIndex = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelSelector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelSelector.cs.meta deleted file mode 100644 index dde9d512..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/ParallelSelector.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 52e4e27ad95cedb41a3bc2c5f5ed0b54 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/PrioritySelector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/PrioritySelector.cs deleted file mode 100644 index 5f2dac27..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/PrioritySelector.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System.Collections.Generic; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Similar to the selector task, the priority selector task will return success as soon as a child task returns success. " + - "Instead of running the tasks sequentially from left to right within the tree, the priority selector will ask the task what its priority is to determine the order. " + - "The higher priority tasks have a higher chance at being run first.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=29")] - [TaskIcon("{SkinColor}PrioritySelectorIcon.png")] - public class PrioritySelector : Composite - { - // The index of the child that is currently running or is about to run. - private int currentChildIndex = 0; - // The task status of every child task. - private TaskStatus executionStatus = TaskStatus.Inactive; - // The order to run its children in. - private List childrenExecutionOrder = new List(); - - public override void OnStart() - { - // Make sure the list is empty before we add child indexes to it. - childrenExecutionOrder.Clear(); - - // Loop through each child task and determine its priority. The higher the priority the lower it goes within the list. The task with the highest - // priority will be first in the list and will be executed first. - for (int i = 0; i < children.Count; ++i) { - float priority = children[i].GetPriority(); - int insertIndex = childrenExecutionOrder.Count; - for (int j = 0; j < childrenExecutionOrder.Count; ++j) { - if (children[childrenExecutionOrder[j]].GetPriority() < priority) { - insertIndex = j; - break; - } - } - childrenExecutionOrder.Insert(insertIndex, i); - } - } - - public override int CurrentChildIndex() - { - // Use the execution order list in order to determine the current child index. - return childrenExecutionOrder[currentChildIndex]; - } - - public override bool CanExecute() - { - // We can continue to execuate as long as we have children that haven't been executed and no child has returned success. - return currentChildIndex < children.Count && executionStatus != TaskStatus.Success; - } - - public override void OnChildExecuted(TaskStatus childStatus) - { - // Increase the child index and update the execution status after a child has finished running. - currentChildIndex++; - executionStatus = childStatus; - } - - public override void OnConditionalAbort(int childIndex) - { - // Set the current child index to the index that caused the abort - currentChildIndex = childIndex; - executionStatus = TaskStatus.Inactive; - } - - public override void OnEnd() - { - // All of the children have run. Reset the variables back to their starting values. - executionStatus = TaskStatus.Inactive; - currentChildIndex = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/PrioritySelector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/PrioritySelector.cs.meta deleted file mode 100644 index 828e4c7a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/PrioritySelector.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8b5aa86ad86e94f41841abd04bd96f2a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSelector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSelector.cs deleted file mode 100644 index e4c55f0f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSelector.cs +++ /dev/null @@ -1,106 +0,0 @@ -using UnityEngine; -using System.Collections.Generic; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Similar to the selector task, the random selector task will return success as soon as a child task returns success. " + - "The difference is that the random selector class will run its children in a random order. The selector task is deterministic " + - "in that it will always run the tasks from left to right within the tree. The random selector task shuffles the child tasks up and then begins " + - "execution in a random order. Other than that the random selector class is the same as the selector class. It will continue running tasks " + - "until a task completes successfully. If no child tasks return success then it will return failure.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=30")] - [TaskIcon("{SkinColor}RandomSelectorIcon.png")] - public class RandomSelector : Composite - { - [Tooltip("Seed the random number generator to make things easier to debug")] - public int seed = 0; - [Tooltip("Do we want to use the seed?")] - public bool useSeed = false; - - // A list of indexes of every child task. This list is used by the Fischer-Yates shuffle algorithm. - private List childIndexList = new List(); - // The random child index execution order. - private Stack childrenExecutionOrder = new Stack(); - // The task status of the last child ran. - private TaskStatus executionStatus = TaskStatus.Inactive; - - public override void OnAwake() - { - // If specified, use the seed provided. - if (useSeed) { -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3) - Random.InitState(seed); -#else - Random.seed = seed; -#endif - } - - // Add the index of each child to a list to make the Fischer-Yates shuffle possible. - childIndexList.Clear(); - for (int i = 0; i < children.Count; ++i) { - childIndexList.Add(i); - } - } - - public override void OnStart() - { - // Randomize the indecies - ShuffleChilden(); - } - - public override int CurrentChildIndex() - { - // Peek will return the index at the top of the stack. - return childrenExecutionOrder.Peek(); - } - - public override bool CanExecute() - { - // Continue exectuion if no task has return success and indexes still exist on the stack. - return childrenExecutionOrder.Count > 0 && executionStatus != TaskStatus.Success; - } - - public override void OnChildExecuted(TaskStatus childStatus) - { - // Pop the top index from the stack and set the execution status. - if (childrenExecutionOrder.Count > 0) { - childrenExecutionOrder.Pop(); - } - executionStatus = childStatus; - } - - public override void OnConditionalAbort(int childIndex) - { - // Start from the beginning on an abort - childrenExecutionOrder.Clear(); - executionStatus = TaskStatus.Inactive; - ShuffleChilden(); - } - - public override void OnEnd() - { - // All of the children have run. Reset the variables back to their starting values. - executionStatus = TaskStatus.Inactive; - childrenExecutionOrder.Clear(); - } - - public override void OnReset() - { - // Reset the public properties back to their original values - seed = 0; - useSeed = false; - } - - private void ShuffleChilden() - { - // Use Fischer-Yates shuffle to randomize the child index order. - for (int i = childIndexList.Count; i > 0; --i) { - int j = Random.Range(0, i); - int index = childIndexList[j]; - childrenExecutionOrder.Push(index); - childIndexList[j] = childIndexList[i - 1]; - childIndexList[i - 1] = index; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSelector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSelector.cs.meta deleted file mode 100644 index d5528712..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSelector.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4952cbfc1e77be24b99e34c9acffc2a0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSequence.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSequence.cs deleted file mode 100644 index a392c7b1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSequence.cs +++ /dev/null @@ -1,107 +0,0 @@ -using UnityEngine; -using System.Collections.Generic; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Similar to the sequence task, the random sequence task will return success as soon as every child task returns success. " + - "The difference is that the random sequence class will run its children in a random order. The sequence task is deterministic " + - "in that it will always run the tasks from left to right within the tree. The random sequence task shuffles the child tasks up and then begins " + - "execution in a random order. Other than that the random sequence class is the same as the sequence class. It will stop running tasks " + - "as soon as a single task ends in failure. On a task failure it will stop executing all of the child tasks and return failure. " + - "If no child returns failure then it will return success.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=31")] - [TaskIcon("{SkinColor}RandomSequenceIcon.png")] - public class RandomSequence : Composite - { - [Tooltip("Seed the random number generator to make things easier to debug")] - public int seed = 0; - [Tooltip("Do we want to use the seed?")] - public bool useSeed = false; - - // A list of indexes of every child task. This list is used by the Fischer-Yates shuffle algorithm. - private List childIndexList = new List(); - // The random child index execution order. - private Stack childrenExecutionOrder = new Stack(); - // The task status of the last child ran. - private TaskStatus executionStatus = TaskStatus.Inactive; - - public override void OnAwake() - { - // If specified, use the seed provided. - if (useSeed) { -#if !(UNITY_5_1 || UNITY_5_2 || UNITY_5_3) - Random.InitState(seed); -#else - Random.seed = seed; -#endif - } - - // Add the index of each child to a list to make the Fischer-Yates shuffle possible. - childIndexList.Clear(); - for (int i = 0; i < children.Count; ++i) { - childIndexList.Add(i); - } - } - - public override void OnStart() - { - // Randomize the indecies - ShuffleChilden(); - } - - public override int CurrentChildIndex() - { - // Peek will return the index at the top of the stack. - return childrenExecutionOrder.Peek(); - } - - public override bool CanExecute() - { - // Continue exectuion if no task has return failure and indexes still exist on the stack. - return childrenExecutionOrder.Count > 0 && executionStatus != TaskStatus.Failure; - } - - public override void OnChildExecuted(TaskStatus childStatus) - { - // Pop the top index from the stack and set the execution status. - if (childrenExecutionOrder.Count > 0) { - childrenExecutionOrder.Pop(); - } - executionStatus = childStatus; - } - - public override void OnConditionalAbort(int childIndex) - { - // Start from the beginning on an abort - childrenExecutionOrder.Clear(); - executionStatus = TaskStatus.Inactive; - ShuffleChilden(); - } - - public override void OnEnd() - { - // All of the children have run. Reset the variables back to their starting values. - executionStatus = TaskStatus.Inactive; - childrenExecutionOrder.Clear(); - } - - public override void OnReset() - { - // Reset the public properties back to their original values - seed = 0; - useSeed = false; - } - - private void ShuffleChilden() - { - // Use Fischer-Yates shuffle to randomize the child index order. - for (int i = childIndexList.Count; i > 0; --i) { - int j = Random.Range(0, i); - int index = childIndexList[j]; - childrenExecutionOrder.Push(index); - childIndexList[j] = childIndexList[i - 1]; - childIndexList[i - 1] = index; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSequence.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSequence.cs.meta deleted file mode 100644 index 28baf39d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/RandomSequence.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 11b102c97eb687b4a9ce1473a334c3dd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Selector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Selector.cs deleted file mode 100644 index e85b1ca5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Selector.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("The selector task is similar to an \"or\" operation. It will return success as soon as one of its child tasks return success. " + - "If a child task returns failure then it will sequentially run the next task. If no child task returns success then it will return failure.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=26")] - [TaskIcon("{SkinColor}SelectorIcon.png")] - public class Selector : Composite - { - // The index of the child that is currently running or is about to run. - private int currentChildIndex = 0; - // The task status of the last child ran. - private TaskStatus executionStatus = TaskStatus.Inactive; - - public override int CurrentChildIndex() - { - return currentChildIndex; - } - - public override bool CanExecute() - { - // We can continue to execuate as long as we have children that haven't been executed and no child has returned success. - return currentChildIndex < children.Count && executionStatus != TaskStatus.Success; - } - - public override void OnChildExecuted(TaskStatus childStatus) - { - // Increase the child index and update the execution status after a child has finished running. - currentChildIndex++; - executionStatus = childStatus; - } - - public override void OnConditionalAbort(int childIndex) - { - // Set the current child index to the index that caused the abort - currentChildIndex = childIndex; - executionStatus = TaskStatus.Inactive; - } - - public override void OnEnd() - { - // All of the children have run. Reset the variables back to their starting values. - executionStatus = TaskStatus.Inactive; - currentChildIndex = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Selector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Selector.cs.meta deleted file mode 100644 index a3f6291c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Selector.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7cb8dcec14880a443841212e6b595d4f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/SelectorEvaluator.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/SelectorEvaluator.cs deleted file mode 100644 index 25505d63..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/SelectorEvaluator.cs +++ /dev/null @@ -1,118 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("The selector evaluator is a selector task which reevaluates its children every tick. It will run the lowest priority child which returns a task status of running. " + - "This is done each tick. If a higher priority child is running and the next frame a lower priority child wants to run it will interrupt the higher priority child. " + - "The selector evaluator will return success as soon as the first child returns success otherwise it will keep trying higher priority children. This task mimics " + - "the conditional abort functionality except the child tasks don't always have to be conditional tasks.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=109")] - [TaskIcon("{SkinColor}SelectorEvaluatorIcon.png")] - public class SelectorEvaluator : Composite - { - // The index of the child that is currently running or is about to run. - private int currentChildIndex = 0; - // The task status of the last child ran. - private TaskStatus executionStatus = TaskStatus.Inactive; - // The index of the child that was running before the tree started to be reevaluated. - private int storedCurrentChildIndex = -1; - // The task status of the last child ran before the tree started to be reevaluated. - private TaskStatus storedExecutionStatus = TaskStatus.Inactive; - - public override int CurrentChildIndex() - { - return currentChildIndex; - } - - public override void OnChildStarted(int childIndex) - { - // The children run sequentially so increment the index and set the status to running. - currentChildIndex++; - executionStatus = TaskStatus.Running; - } - - public override bool CanExecute() - { - // We can continue to execuate as long as we have children that haven't been executed and no child has returned success. - if (executionStatus == TaskStatus.Success || executionStatus == TaskStatus.Running) { - return false; - } - - // Used the storedCurrentChildIndex if reevaluating, otherwise the currentChildIndex - if (storedCurrentChildIndex != -1) { - return currentChildIndex < storedCurrentChildIndex - 1; - } - return currentChildIndex < children.Count; - } - - public override void OnChildExecuted(int childIndex, TaskStatus childStatus) - { - // The child status will be inactive immediately following an abort from OnReevaluationEnded. The status will be running if the - // child task is interrupted. Ignore the status for both of these. - if (childStatus != TaskStatus.Inactive && childStatus != TaskStatus.Running) { - executionStatus = childStatus; - } - } - - public override void OnConditionalAbort(int childIndex) - { - // Set the current child index to the index that caused the abort - currentChildIndex = childIndex; - executionStatus = TaskStatus.Inactive; - } - - public override void OnEnd() - { - // All of the children have run. Reset the variables back to their starting values. - executionStatus = TaskStatus.Inactive; - currentChildIndex = 0; - } - - public override TaskStatus OverrideStatus(TaskStatus status) - { - return executionStatus; - } - - // The selector evaluator task is a parallel task to allow the previous child to continue to run while the higher priority task is active. If the - // lower priority child can run then OnReevaluationEnded will interrupt the higher priority task. - public override bool CanRunParallelChildren() - { - return true; - } - - // Can reevaluate to allow the lower priority children the chance to rerun. - public override bool CanReevaluate() - { - return true; - } - - // The behavior tree wants to start reevaluating the tree. - public override bool OnReevaluationStarted() - { - // Cannot reevaluate if the task hasn't even started yet - if (executionStatus == TaskStatus.Inactive) { - return false; - } - - // Store the current index and execution status because it may need to be resumed. - storedCurrentChildIndex = currentChildIndex; - storedExecutionStatus = executionStatus; - currentChildIndex = 0; - executionStatus = TaskStatus.Inactive; - return true; - } - - // Reevaluation has ended. Determine if a task should be interrupted or resumed from the last index. - public override void OnReevaluationEnded(TaskStatus status) - { - // Interrupt the currently running index if a lower priority child returns a status of running or success. - if (executionStatus != TaskStatus.Failure && executionStatus != TaskStatus.Inactive) { - BehaviorManager.instance.Interrupt(Owner, children[storedCurrentChildIndex - 1], this); - } else { - // The lower priority children returned the same status so resume with the current child - currentChildIndex = storedCurrentChildIndex; - executionStatus = storedExecutionStatus; - } - storedCurrentChildIndex = -1; - storedExecutionStatus = TaskStatus.Inactive; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/SelectorEvaluator.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/SelectorEvaluator.cs.meta deleted file mode 100644 index b55971ba..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/SelectorEvaluator.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 15b5d0aafd7d4f04f8332d33705ebd63 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Sequence.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Sequence.cs deleted file mode 100644 index c82ce730..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Sequence.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("The sequence task is similar to an \"and\" operation. It will return failure as soon as one of its child tasks return failure. " + - "If a child task returns success then it will sequentially run the next task. If all child tasks return success then it will return success.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=25")] - [TaskIcon("{SkinColor}SequenceIcon.png")] - public class Sequence : Composite - { - // The index of the child that is currently running or is about to run. - private int currentChildIndex = 0; - // The task status of the last child ran. - private TaskStatus executionStatus = TaskStatus.Inactive; - - public override int CurrentChildIndex() - { - return currentChildIndex; - } - - public override bool CanExecute() - { - // We can continue to execuate as long as we have children that haven't been executed and no child has returned failure. - return currentChildIndex < children.Count && executionStatus != TaskStatus.Failure; - } - - public override void OnChildExecuted(TaskStatus childStatus) - { - // Increase the child index and update the execution status after a child has finished running. - currentChildIndex++; - executionStatus = childStatus; - } - - public override void OnConditionalAbort(int childIndex) - { - // Set the current child index to the index that caused the abort - currentChildIndex = childIndex; - executionStatus = TaskStatus.Inactive; - } - - public override void OnEnd() - { - // All of the children have run. Reset the variables back to their starting values. - executionStatus = TaskStatus.Inactive; - currentChildIndex = 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Sequence.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Sequence.cs.meta deleted file mode 100644 index 89002187..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/Sequence.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b7226608b64066c40a656d7260249fce -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/UtilitySelector.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/UtilitySelector.cs deleted file mode 100644 index 23fd6a54..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/UtilitySelector.cs +++ /dev/null @@ -1,150 +0,0 @@ -using System.Collections.Generic; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("The utility selector task evaluates the child tasks using Utility Theory AI. The child task can override the GetUtility method and return the utility value " + - "at that particular time. The task with the highest utility value will be selected and the existing running task will be aborted. The utility selector " + - "task reevaluates its children every tick.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=134")] - [TaskIcon("{SkinColor}UtilitySelectorIcon.png")] - public class UtilitySelector : Composite - { - // The index of the child that is currently running or is about to run. - private int currentChildIndex = 0; - // The highest utility value - private float highestUtility; - // The task status of the last child ran. - private TaskStatus executionStatus = TaskStatus.Inactive; - // Is the task being reevaluated? - private bool reevaluating; - // A list of children that can execute. - private List availableChildren = new List(); - - public override void OnStart() - { - highestUtility = float.MinValue; - - // Loop through each child task and determine its utility. The task with the highest utility will run first. - availableChildren.Clear(); - for (int i = 0; i < children.Count; ++i) { - float utility = children[i].GetUtility(); - if (utility > highestUtility) { - highestUtility = utility; - currentChildIndex = i; - } - availableChildren.Add(i); - } - } - - public override int CurrentChildIndex() - { - // The currentChildIndex is the task with the highest utility. - return currentChildIndex; - } - - public override void OnChildStarted(int childIndex) - { - // The child has started - set the execution status. - executionStatus = TaskStatus.Running; - } - - public override bool CanExecute() - { - // Continue to execute new tasks until a task returns success or there are no more children left. If reevaluating then return false - // immediately because each task doesn't need to be reevaluted. - if (executionStatus == TaskStatus.Success || executionStatus == TaskStatus.Running || reevaluating) { - return false; - } - return availableChildren.Count > 0; - } - - public override void OnChildExecuted(int childIndex, TaskStatus childStatus) - { - // The child status will be inactive immediately following an abort from OnReevaluationEnded. The status will be running if the - // child task is interrupted. Ignore the status for both of these. - if (childStatus != TaskStatus.Inactive && childStatus != TaskStatus.Running) { - executionStatus = childStatus; - // If the execution status is failure then a new task needs to be selected. Remove the current task from the available children - // and select the next highest utility child. - if (executionStatus == TaskStatus.Failure) { - availableChildren.Remove(childIndex); - - highestUtility = float.MinValue; - for (int i = 0; i < availableChildren.Count; ++i) { - float utility = children[availableChildren[i]].GetUtility(); - if (utility > highestUtility) { - highestUtility = utility; - currentChildIndex = availableChildren[i]; - } - } - } - } - } - - public override void OnConditionalAbort(int childIndex) - { - // Set the current child index to the index that caused the abort - currentChildIndex = childIndex; - executionStatus = TaskStatus.Inactive; - } - - public override void OnEnd() - { - // All of the children have run. Reset the variables back to their starting values. - executionStatus = TaskStatus.Inactive; - currentChildIndex = 0; - } - - public override TaskStatus OverrideStatus(TaskStatus status) - { - return executionStatus; - } - - // The utility selector task is a parallel task to allow the task utility to be reevaluated. The higest utility task will always run. - public override bool CanRunParallelChildren() - { - return true; - } - - // Can reevaluate to allow the task utilities to be rerun. - public override bool CanReevaluate() - { - return true; - } - - // The behavior tree wants to start reevaluating the tree. - public override bool OnReevaluationStarted() - { - // Cannot reevaluate if the task hasn't even started yet - if (executionStatus == TaskStatus.Inactive) { - return false; - } - - reevaluating = true; - return true; - } - - // Determine if a task with a higher utility exists. - public override void OnReevaluationEnded(TaskStatus status) - { - reevaluating = false; - - // Loop through all of the available children and pick the task with the highest utility. - int prevChildIndex = currentChildIndex; - highestUtility = float.MinValue; - for (int i = 0; i < availableChildren.Count; ++i) { - float utility = children[availableChildren[i]].GetUtility(); - if (utility > highestUtility) { - highestUtility = utility; - currentChildIndex = availableChildren[i]; - } - } - - // If the index is different then the current child task should be aborted and the higher utility task should be run. - if (prevChildIndex != currentChildIndex) { - BehaviorManager.instance.Interrupt(Owner, children[prevChildIndex], this); - executionStatus = TaskStatus.Inactive; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/UtilitySelector.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Composites/UtilitySelector.cs.meta deleted file mode 100644 index f65ef498..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Composites/UtilitySelector.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 1c21b01ca0aa9004fa3a76c9d596eeb1 -timeCreated: 1465679373 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals.meta deleted file mode 100644 index 3c584b3a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals.meta +++ /dev/null @@ -1,2 +0,0 @@ -fileFormatVersion: 2 -guid: 71086b036fe4eb440ac8c7ff333239d6 diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/HasReceivedEvent.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/HasReceivedEvent.cs deleted file mode 100644 index 964ecc3a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/HasReceivedEvent.cs +++ /dev/null @@ -1,114 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Returns success as soon as the event specified by eventName has been received.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=123")] - [TaskIcon("{SkinColor}HasReceivedEventIcon.png")] - public class HasReceivedEvent : Conditional - { - [Tooltip("The name of the event to receive")] - public SharedString eventName = ""; - [Tooltip("Optionally store the first sent argument")] - [SharedRequired] - public SharedVariable storedValue1; - [Tooltip("Optionally store the second sent argument")] - [SharedRequired] - public SharedVariable storedValue2; - [Tooltip("Optionally store the third sent argument")] - [SharedRequired] - public SharedVariable storedValue3; - - private bool eventReceived = false; - private bool registered = false; - - public override void OnStart() - { - // Let the behavior tree know that we are interested in receiving the event specified - if (!registered) { - Owner.RegisterEvent(eventName.Value, ReceivedEvent); - Owner.RegisterEvent(eventName.Value, ReceivedEvent); - Owner.RegisterEvent(eventName.Value, ReceivedEvent); - Owner.RegisterEvent(eventName.Value, ReceivedEvent); - registered = true; - } - } - - public override TaskStatus OnUpdate() - { - return eventReceived ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnEnd() - { - if (eventReceived) { - Owner.UnregisterEvent(eventName.Value, ReceivedEvent); - Owner.UnregisterEvent(eventName.Value, ReceivedEvent); - Owner.UnregisterEvent(eventName.Value, ReceivedEvent); - Owner.UnregisterEvent(eventName.Value, ReceivedEvent); - registered = false; - } - eventReceived = false; - } - - private void ReceivedEvent() - { - eventReceived = true; - } - - private void ReceivedEvent(object arg1) - { - ReceivedEvent(); - - if (storedValue1 != null && !storedValue1.IsNone) { - storedValue1.SetValue(arg1); - } - } - - private void ReceivedEvent(object arg1, object arg2) - { - ReceivedEvent(); - - if (storedValue1 != null && !storedValue1.IsNone) { - storedValue1.SetValue(arg1); - } - - if (storedValue2 != null && !storedValue2.IsNone) { - storedValue2.SetValue(arg2); - } - } - - private void ReceivedEvent(object arg1, object arg2, object arg3) - { - ReceivedEvent(); - - if (storedValue1 != null && !storedValue1.IsNone) { - storedValue1.SetValue(arg1); - } - - if (storedValue2 != null && !storedValue2.IsNone) { - storedValue2.SetValue(arg2); - } - - if (storedValue3 != null && !storedValue3.IsNone) { - storedValue3.SetValue(arg3); - } - } - - public override void OnBehaviorComplete() - { - // Stop receiving the event when the behavior tree is complete - Owner.UnregisterEvent(eventName.Value, ReceivedEvent); - Owner.UnregisterEvent(eventName.Value, ReceivedEvent); - Owner.UnregisterEvent(eventName.Value, ReceivedEvent); - Owner.UnregisterEvent(eventName.Value, ReceivedEvent); - - eventReceived = false; - registered = false; - } - - public override void OnReset() - { - // Reset the properties back to their original values - eventName = ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/HasReceivedEvent.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/HasReceivedEvent.cs.meta deleted file mode 100644 index 9fd1d4e1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/HasReceivedEvent.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7c0c7f545b074cb48bd552b038ede7af -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics.meta deleted file mode 100644 index 8b5c7dcc..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: 0c5a19b8daa7dbf4abe7505888ef0376 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision.cs deleted file mode 100644 index 480e4093..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Returns success when a collision starts.")] - [TaskCategory("Physics")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=110")] - public class HasEnteredCollision : Conditional - { - [Tooltip("The tag of the GameObject to check for a collision against")] - public SharedString tag = ""; - [Tooltip("The object that started the collision")] - public SharedGameObject collidedGameObject; - - private bool enteredCollision = false; - - public override TaskStatus OnUpdate() - { - return enteredCollision ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnEnd() - { - enteredCollision = false; - } - - public override void OnCollisionEnter(Collision collision) - { - if (string.IsNullOrEmpty(tag.Value) || tag.Value.Equals(collision.gameObject.tag)) { - collidedGameObject.Value = collision.gameObject; - enteredCollision = true; - } - } - - public override void OnReset() - { - tag = ""; - collidedGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision.cs.meta deleted file mode 100644 index b6f4d04b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c1841a802d7ceda449423f001897ecae -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision2D.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision2D.cs deleted file mode 100644 index 51feb050..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision2D.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Returns success when a 2D collision starts.")] - [TaskCategory("Physics")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=110")] - public class HasEnteredCollision2D : Conditional - { - [Tooltip("The tag of the GameObject to check for a collision against")] - public SharedString tag = ""; - [Tooltip("The object that started the collision")] - public SharedGameObject collidedGameObject; - - private bool enteredCollision = false; - - public override TaskStatus OnUpdate() - { - return enteredCollision ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnEnd() - { - enteredCollision = false; - } - - public override void OnCollisionEnter2D(Collision2D collision) - { - if (string.IsNullOrEmpty(tag.Value) || tag.Value.Equals(collision.gameObject.tag)) { - collidedGameObject.Value = collision.gameObject; - enteredCollision = true; - } - } - - public override void OnReset() - { - tag = ""; - collidedGameObject = null; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision2D.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision2D.cs.meta deleted file mode 100644 index 1f0e945e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredCollision2D.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0ac128198630a2d4b9fee93cc9a1f8fd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger.cs deleted file mode 100644 index 648850fd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Returns success when an object enters the trigger.")] - [TaskCategory("Physics")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=110")] - public class HasEnteredTrigger : Conditional - { - [Tooltip("The tag of the GameObject to check for a trigger against")] - public SharedString tag = ""; - [Tooltip("The object that entered the trigger")] - public SharedGameObject otherGameObject; - - private bool enteredTrigger = false; - - public override TaskStatus OnUpdate() - { - return enteredTrigger ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnEnd() - { - enteredTrigger = false; - } - - public override void OnTriggerEnter(Collider other) - { - if (string.IsNullOrEmpty(tag.Value) || tag.Value.Equals(other.gameObject.tag)) { - otherGameObject.Value = other.gameObject; - enteredTrigger = true; - } - } - - public override void OnReset() - { - tag = ""; - otherGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger.cs.meta deleted file mode 100644 index bccb63ad..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5987844efe0fca7499cec04a9e3962cc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger2D.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger2D.cs deleted file mode 100644 index 05dfe9ec..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger2D.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Returns success when an object enters the 2D trigger.")] - [TaskCategory("Physics")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=110")] - public class HasEnteredTrigger2D : Conditional - { - [Tooltip("The tag of the GameObject to check for a trigger against")] - public SharedString tag = ""; - [Tooltip("The object that entered the trigger")] - public SharedGameObject otherGameObject; - - private bool enteredTrigger = false; - - public override TaskStatus OnUpdate() - { - return enteredTrigger ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnEnd() - { - enteredTrigger = false; - } - - public override void OnTriggerEnter2D(Collider2D other) - { - if (string.IsNullOrEmpty(tag.Value) || tag.Value.Equals(other.gameObject.tag)) { - otherGameObject.Value = other.gameObject; - enteredTrigger = true; - } - } - - public override void OnReset() - { - tag = ""; - otherGameObject = null; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger2D.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger2D.cs.meta deleted file mode 100644 index 4e98e7c7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasEnteredTrigger2D.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 84e2afb791fe67243a15e45e4af81bb4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision.cs deleted file mode 100644 index 05a4fe3d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision.cs +++ /dev/null @@ -1,40 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Returns success when a collision ends.")] - [TaskCategory("Physics")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=110")] - public class HasExitedCollision : Conditional - { - [Tooltip("The tag of the GameObject to check for a collision against")] - public SharedString tag = ""; - [Tooltip("The object that exited the collision")] - public SharedGameObject collidedGameObject; - - private bool exitedCollision = false; - - public override TaskStatus OnUpdate() - { - return exitedCollision ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnEnd() - { - exitedCollision = false; - } - - public override void OnCollisionExit(Collision collision) - { - if (string.IsNullOrEmpty(tag.Value) || tag.Value.Equals(collision.gameObject.tag)) { - collidedGameObject.Value = collision.gameObject; - exitedCollision = true; - } - } - - public override void OnReset() - { - collidedGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision.cs.meta deleted file mode 100644 index 40e22c8b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 900905a3e42f74c49a6e503349ee651e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision2D.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision2D.cs deleted file mode 100644 index e5a1a03a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision2D.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Returns success when a 2D collision ends.")] - [TaskCategory("Physics")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=110")] - public class HasExitedCollision2D : Conditional - { - [Tooltip("The tag of the GameObject to check for a collision against")] - public SharedString tag = ""; - [Tooltip("The object that exited the collision")] - public SharedGameObject collidedGameObject; - - private bool exitedCollision = false; - - public override TaskStatus OnUpdate() - { - return exitedCollision ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnEnd() - { - exitedCollision = false; - } - - public override void OnCollisionExit2D(Collision2D collision) - { - if (string.IsNullOrEmpty(tag.Value) || tag.Value.Equals(collision.gameObject.tag)) { - collidedGameObject.Value = collision.gameObject; - exitedCollision = true; - } - } - - public override void OnReset() - { - tag = ""; - collidedGameObject = null; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision2D.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision2D.cs.meta deleted file mode 100644 index 48510c2a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedCollision2D.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 31cf8edd114ac5c4db22ec65babb3dd3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger.cs deleted file mode 100644 index ec33e923..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Returns success when an object exits the trigger.")] - [TaskCategory("Physics")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=110")] - public class HasExitedTrigger : Conditional - { - [Tooltip("The tag of the GameObject to check for a trigger against")] - public SharedString tag = ""; - [Tooltip("The object that exited the trigger")] - public SharedGameObject otherGameObject; - - private bool exitedTrigger = false; - - public override TaskStatus OnUpdate() - { - return exitedTrigger ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnEnd() - { - exitedTrigger = false; - } - - public override void OnTriggerExit(Collider other) - { - if (string.IsNullOrEmpty(tag.Value) || tag.Value.Equals(other.gameObject.tag)) { - otherGameObject.Value = other.gameObject; - exitedTrigger = true; - } - } - - public override void OnReset() - { - tag = ""; - otherGameObject = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger.cs.meta deleted file mode 100644 index 83c2828f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c7ccd4a2c35d4c748b65ccd086e777e1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger2D.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger2D.cs deleted file mode 100644 index 95ad2f1a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger2D.cs +++ /dev/null @@ -1,41 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Returns success when an object exits the 2D trigger.")] - [TaskCategory("Physics")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=110")] - public class HasExitedTrigger2D : Conditional - { - [Tooltip("The tag of the GameObject to check for a trigger against")] - public SharedString tag = ""; - [Tooltip("The object that exited the trigger")] - public SharedGameObject otherGameObject; - - private bool exitedTrigger = false; - - public override TaskStatus OnUpdate() - { - return exitedTrigger ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnEnd() - { - exitedTrigger = false; - } - - public override void OnTriggerExit2D(Collider2D other) - { - if (string.IsNullOrEmpty(tag.Value) || tag.Value.Equals(other.gameObject.tag)) { - otherGameObject.Value = other.gameObject; - exitedTrigger = true; - } - } - - public override void OnReset() - { - tag = ""; - otherGameObject = null; - } - } -} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger2D.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger2D.cs.meta deleted file mode 100644 index 3d6d4f8a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Physics/HasExitedTrigger2D.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ff0486d46da2f7844ac74c6e2ad5af89 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/RandomProbability.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/RandomProbability.cs deleted file mode 100644 index e971bb3d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/RandomProbability.cs +++ /dev/null @@ -1,44 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("The random probability task will return success when the random probability is above the succeed probability. It will otherwise return failure.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=33")] - public class RandomProbability : Conditional - { - [Tooltip("The chance that the task will return success")] - public SharedFloat successProbability = 0.5f; - [Tooltip("Seed the random number generator to make things easier to debug")] - public SharedInt seed; - [Tooltip("Do we want to use the seed?")] - public SharedBool useSeed; - - private System.Random random; - - public override void OnAwake() - { - // If specified, use the seed provided. - if (useSeed.Value) { - random = new System.Random(seed.Value); - } else { - random = new System.Random(); - } - } - - public override TaskStatus OnUpdate() - { - // Return success if random value is less than the success probability. Otherwise return failure. - float randomValue = (float)random.NextDouble(); - if (randomValue < successProbability.Value) { - return TaskStatus.Success; - } - return TaskStatus.Failure; - } - - public override void OnReset() - { - // Reset the public properties back to their original values - successProbability = 0.5f; - seed = 0; - useSeed = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/RandomProbability.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/RandomProbability.cs.meta deleted file mode 100644 index 9c3993af..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/RandomProbability.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 468a21510e9558c49a47238ebe4c2270 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection.meta deleted file mode 100644 index e671a26f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: caf1fead4d83193488aaa4560c36880c -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/CompareFieldValue.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/CompareFieldValue.cs deleted file mode 100644 index d66bf706..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/CompareFieldValue.cs +++ /dev/null @@ -1,61 +0,0 @@ -using UnityEngine; -using System; -using System.Reflection; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Compares the field value to the value specified. Returns success if the values are the same.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=151")] - [TaskCategory("Reflection")] - [TaskIcon("{SkinColor}ReflectionIcon.png")] - public class CompareFieldValue : Conditional - { - [Tooltip("The GameObject to compare the field on")] - public SharedGameObject targetGameObject; - [Tooltip("The component to compare the field on")] - public SharedString componentName; - [Tooltip("The name of the field")] - public SharedString fieldName; - [Tooltip("The value to compare to")] - public SharedVariable compareValue; - - public override TaskStatus OnUpdate() - { - if (compareValue == null) { - Debug.LogWarning("Unable to compare field - compare value is null"); - return TaskStatus.Failure; - } - - var type = TaskUtility.GetTypeWithinAssembly(componentName.Value); - if (type == null) { - Debug.LogWarning("Unable to compare field - type is null"); - return TaskStatus.Failure; - } - - var component = GetDefaultGameObject(targetGameObject.Value).GetComponent(type); - if (component == null) { - Debug.LogWarning("Unable to compare the field with component " + componentName.Value); - return TaskStatus.Failure; - } - - // If you are receiving a compiler error on the Windows Store platform see this topic: - // http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=46 - var field = component.GetType().GetField(fieldName.Value); - var fieldValue = field.GetValue(component); - - if (fieldValue == null && compareValue.GetValue() == null) { - return TaskStatus.Success; - } - - return fieldValue.Equals(compareValue.GetValue()) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - componentName = null; - fieldName = null; - compareValue = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/CompareFieldValue.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/CompareFieldValue.cs.meta deleted file mode 100644 index 42f0e6bb..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/CompareFieldValue.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cc6496fb6757b684c8cc0c4ac8929319 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/ComparePropertyValue.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/ComparePropertyValue.cs deleted file mode 100644 index 4f7fbdf1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/ComparePropertyValue.cs +++ /dev/null @@ -1,61 +0,0 @@ -using UnityEngine; -using System; -using System.Reflection; - -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Compares the property value to the value specified. Returns success if the values are the same.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=152")] - [TaskCategory("Reflection")] - [TaskIcon("{SkinColor}ReflectionIcon.png")] - public class ComparePropertyValue : Conditional - { - [Tooltip("The GameObject to compare the property of")] - public SharedGameObject targetGameObject; - [Tooltip("The component to compare the property of")] - public SharedString componentName; - [Tooltip("The name of the property")] - public SharedString propertyName; - [Tooltip("The value to compare to")] - public SharedVariable compareValue; - - public override TaskStatus OnUpdate() - { - if (compareValue == null) { - Debug.LogWarning("Unable to compare field - compare value is null"); - return TaskStatus.Failure; - } - - var type = TaskUtility.GetTypeWithinAssembly(componentName.Value); - if (type == null) { - Debug.LogWarning("Unable to compare property - type is null"); - return TaskStatus.Failure; - } - - var component = GetDefaultGameObject(targetGameObject.Value).GetComponent(type); - if (component == null) { - Debug.LogWarning("Unable to compare the property with component " + componentName.Value); - return TaskStatus.Failure; - } - - // If you are receiving a compiler error on the Windows Store platform see this topic: - // http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=46 - var property = component.GetType().GetProperty(propertyName.Value); - var propertyValue = property.GetValue(component, null); - - if (propertyValue == null && compareValue.GetValue() == null) { - return TaskStatus.Success; - } - - return propertyValue.Equals(compareValue.GetValue()) ? TaskStatus.Success : TaskStatus.Failure; - } - - public override void OnReset() - { - targetGameObject = null; - componentName = null; - propertyName = null; - compareValue = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/ComparePropertyValue.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/ComparePropertyValue.cs.meta deleted file mode 100644 index 59fbef22..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Conditionals/Reflection/ComparePropertyValue.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f8b0fa403f826a74087ece4b81fec1c7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators.meta deleted file mode 100644 index a70717c0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators.meta +++ /dev/null @@ -1,2 +0,0 @@ -fileFormatVersion: 2 -guid: 97695fc9a59c6984d82dd3359c07ff3a diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ConditionalEvaluator.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ConditionalEvaluator.cs deleted file mode 100644 index 0f82e08f..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ConditionalEvaluator.cs +++ /dev/null @@ -1,100 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("Evaluates the specified conditional task. If the conditional task returns success then the child task is run and the child status is returned. If the conditional task does not " + - "return success then the child task is not run and a failure status is immediately returned.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=146")] - [TaskIcon("{SkinColor}ConditionalEvaluatorIcon.png")] - public class ConditionalEvaluator : Decorator - { - [Tooltip("Should the conditional task be reevaluated every tick?")] - public SharedBool reevaluate; - [InspectTask] - [Tooltip("The conditional task to evaluate")] - public Conditional conditionalTask; - - // The status of the child after it has finished running. - private TaskStatus executionStatus = TaskStatus.Inactive; - private bool checkConditionalTask = true; - private bool conditionalTaskFailed = false; - - public override void OnAwake() - { - if (conditionalTask != null) { - conditionalTask.Owner = Owner; - conditionalTask.GameObject = gameObject; - conditionalTask.Transform = transform; - conditionalTask.OnAwake(); - } - } - - public override void OnStart() - { - if (conditionalTask != null) { - conditionalTask.OnStart(); - } - } - - public override bool CanExecute() - { - // CanExecute is called when checking the condition within a while loop so it will be called at least twice. Ensure the conditional task is checked only once - if (checkConditionalTask) { - checkConditionalTask = false; - OnUpdate(); - } - - if (conditionalTaskFailed) { - return false; - } - return executionStatus == TaskStatus.Inactive || executionStatus == TaskStatus.Running; - } - - public override bool CanReevaluate() - { - return reevaluate.Value; - } - - public override TaskStatus OnUpdate() - { - var childStatus = conditionalTask.OnUpdate(); - conditionalTaskFailed = conditionalTask == null || childStatus == TaskStatus.Failure; - return childStatus; - } - - public override void OnChildExecuted(TaskStatus childStatus) - { - // Update the execution status after a child has finished running. - executionStatus = childStatus; - } - - public override TaskStatus OverrideStatus() - { - // This version of OverrideStatus is called when the conditional evaluator fails reevaluation and has to stop all of its children. - // Therefore, the return status will always be failure - return TaskStatus.Failure; - } - - public override TaskStatus OverrideStatus(TaskStatus status) - { - if (conditionalTaskFailed) - return TaskStatus.Failure; - return status; - } - - public override void OnEnd() - { - // Reset the variables back to their starting values. - executionStatus = TaskStatus.Inactive; - checkConditionalTask = true; - conditionalTaskFailed = false; - if (conditionalTask != null) { - conditionalTask.OnEnd(); - } - } - - public override void OnReset() - { - // Reset the public properties back to their original values. - conditionalTask = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ConditionalEvaluator.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ConditionalEvaluator.cs.meta deleted file mode 100644 index 8f2340fd..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ConditionalEvaluator.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 632578e05169d1d45a1ab77ae8bb45ad -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Interrupt.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Interrupt.cs deleted file mode 100644 index a7e575a6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Interrupt.cs +++ /dev/null @@ -1,49 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("The interrupt task will stop all child tasks from running if it is interrupted. The interruption can be triggered by the perform interruption task. " + - "The interrupt task will keep running its child until this interruption is called. If no interruption happens and the child task completed its " + - "execution the interrupt task will return the value assigned by the child task.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=35")] - [TaskIcon("{SkinColor}InterruptIcon.png")] - public class Interrupt : Decorator - { - // When an interruption occurs return with this status. - private TaskStatus interruptStatus = TaskStatus.Failure; - // The status of the child after it has finished running. - private TaskStatus executionStatus = TaskStatus.Inactive; - - public override bool CanExecute() - { - // Continue executing until the child task returns success or failure. - return executionStatus == TaskStatus.Inactive || executionStatus == TaskStatus.Running; - } - - public override void OnChildExecuted(TaskStatus childStatus) - { - // Update the execution status after a child has finished running. - executionStatus = childStatus; - } - - public void DoInterrupt(TaskStatus status) - { - // An interruption has occurred. Update the interrupt status and notify the Behavior Manager. The Behavior Manager will stop all - // child tasks from running. - interruptStatus = status; - - BehaviorManager.instance.Interrupt(Owner, this); - } - - public override TaskStatus OverrideStatus() - { - // Return the interruption status as our status. - return interruptStatus; - } - - public override void OnEnd() - { - // Reset the variables back to their starting values. - interruptStatus = TaskStatus.Failure; - executionStatus = TaskStatus.Inactive; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Interrupt.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Interrupt.cs.meta deleted file mode 100644 index 68e9f463..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Interrupt.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 81c44aaaa87500145831c0e167a5bfd3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Inverter.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Inverter.cs deleted file mode 100644 index ce70d2f6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Inverter.cs +++ /dev/null @@ -1,41 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("The inverter task will invert the return value of the child task after it has finished executing. " + - "If the child returns success, the inverter task will return failure. If the child returns failure, the inverter task will return success.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=36")] - [TaskIcon("{SkinColor}InverterIcon.png")] - public class Inverter : Decorator - { - // The status of the child after it has finished running. - private TaskStatus executionStatus = TaskStatus.Inactive; - - public override bool CanExecute() - { - // Continue executing until the child task returns success or failure. - return executionStatus == TaskStatus.Inactive || executionStatus == TaskStatus.Running; - } - - public override void OnChildExecuted(TaskStatus childStatus) - { - // Update the execution status after a child has finished running. - executionStatus = childStatus; - } - - public override TaskStatus Decorate(TaskStatus status) - { - // Invert the task status. - if (status == TaskStatus.Success) { - return TaskStatus.Failure; - } else if (status == TaskStatus.Failure) { - return TaskStatus.Success; - } - return status; - } - - public override void OnEnd() - { - // Reset the execution status back to its starting values. - executionStatus = TaskStatus.Inactive; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Inverter.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Inverter.cs.meta deleted file mode 100644 index 14b2f28b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Inverter.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 577fcf144ebc85642889f2dd11147272 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Repeater.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Repeater.cs deleted file mode 100644 index b6c3d733..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Repeater.cs +++ /dev/null @@ -1,48 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription(@"The repeater task will repeat execution of its child task until the child task has been run a specified number of times. " + - "It has the option of continuing to execute the child task even if the child task returns a failure.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=37")] - [TaskIcon("{SkinColor}RepeaterIcon.png")] - public class Repeater : Decorator - { - [Tooltip("The number of times to repeat the execution of its child task")] - public SharedInt count = 1; - [Tooltip("Allows the repeater to repeat forever")] - public SharedBool repeatForever; - [Tooltip("Should the task return if the child task returns a failure")] - public SharedBool endOnFailure; - - // The number of times the child task has been run. - private int executionCount = 0; - // The status of the child after it has finished running. - private TaskStatus executionStatus = TaskStatus.Inactive; - - public override bool CanExecute() - { - // Continue executing until we've reached the count or the child task returned failure and we should stop on a failure. - return (repeatForever.Value || executionCount < count.Value) && (!endOnFailure.Value || (endOnFailure.Value && executionStatus != TaskStatus.Failure)); - } - - public override void OnChildExecuted(TaskStatus childStatus) - { - // The child task has finished execution. Increase the execution count and update the execution status. - executionCount++; - executionStatus = childStatus; - } - - public override void OnEnd() - { - // Reset the variables back to their starting values. - executionCount = 0; - executionStatus = TaskStatus.Inactive; - } - - public override void OnReset() - { - // Reset the public properties back to their original values. - count = 0; - endOnFailure = true; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Repeater.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Repeater.cs.meta deleted file mode 100644 index 70379781..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/Repeater.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e62515fa6915f0d4f88b808e2e77d3ff -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnFailure.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnFailure.cs deleted file mode 100644 index 96afec6a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnFailure.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("The return failure task will always return failure except when the child task is running.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=38")] - [TaskIcon("{SkinColor}ReturnFailureIcon.png")] - public class ReturnFailure : Decorator - { - // The status of the child after it has finished running. - private TaskStatus executionStatus = TaskStatus.Inactive; - - public override bool CanExecute() - { - // Continue executing until the child task returns success or failure. - return executionStatus == TaskStatus.Inactive || executionStatus == TaskStatus.Running; - } - - public override void OnChildExecuted(TaskStatus childStatus) - { - // Update the execution status after a child has finished running. - executionStatus = childStatus; - } - - public override TaskStatus Decorate(TaskStatus status) - { - // Return failure even if the child task returned success. - if (status == TaskStatus.Success) { - return TaskStatus.Failure; - } - return status; - } - - public override void OnEnd() - { - // Reset the execution status back to its starting values. - executionStatus = TaskStatus.Inactive; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnFailure.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnFailure.cs.meta deleted file mode 100644 index 233d57c3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnFailure.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f34d21f1bb4e761478bdf76222fcf135 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnSuccess.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnSuccess.cs deleted file mode 100644 index e44e69d4..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnSuccess.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("The return success task will always return success except when the child task is running.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=39")] - [TaskIcon("{SkinColor}ReturnSuccessIcon.png")] - public class ReturnSuccess : Decorator - { - // The status of the child after it has finished running. - private TaskStatus executionStatus = TaskStatus.Inactive; - - public override bool CanExecute() - { - // Continue executing until the child task returns success or failure. - return executionStatus == TaskStatus.Inactive || executionStatus == TaskStatus.Running; - } - - public override void OnChildExecuted(TaskStatus childStatus) - { - // Update the execution status after a child has finished running. - executionStatus = childStatus; - } - - public override TaskStatus Decorate(TaskStatus status) - { - // Return success even if the child task returned failure. - if (status == TaskStatus.Failure) { - return TaskStatus.Success; - } - return status; - } - - public override void OnEnd() - { - // Reset the execution status back to its starting values. - executionStatus = TaskStatus.Inactive; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnSuccess.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnSuccess.cs.meta deleted file mode 100644 index e5ef1629..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/ReturnSuccess.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 27d103b9f961fd44da3c4d83dadd90ca -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/TaskGuard.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/TaskGuard.cs deleted file mode 100644 index 86bb841e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/TaskGuard.cs +++ /dev/null @@ -1,77 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("The task guard task is similar to a semaphore in multithreaded programming. The task guard task is there to ensure a limited resource is not being overused. " + - "\n\nFor example, you may place a task guard above a task that plays an animation. Elsewhere within your behavior tree you may also have another task that plays a different " + - "animation but uses the same bones for that animation. Because of this you don't want that animation to play twice at the same time. Placing a task guard will let you " + - "specify how many times a particular task can be accessed at the same time.\n\nIn the previous animation task example you would specify an access count of 1. With this setup " + - "the animation task can be only controlled by one task at a time. If the first task is playing the animation and a second task wants to control the animation as well, it will " + - "either have to wait or skip over the task completely.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=40")] - [TaskIcon("{SkinColor}TaskGuardIcon.png")] - public class TaskGuard : Decorator - { - [Tooltip("The number of times the child tasks can be accessed by parallel tasks at once")] - public SharedInt maxTaskAccessCount; - [Tooltip("The linked tasks that also guard a task. If the task guard is not linked against any other tasks it doesn't have much purpose. Marked as LinkedTask to " + - "ensure all tasks linked are linked to the same set of tasks")] - [LinkedTask] - public TaskGuard[] linkedTaskGuards = null; - [Tooltip("If true the task will wait until the child task is available. If false then any unavailable child tasks will be skipped over")] - public SharedBool waitUntilTaskAvailable; - - // The number of tasks that are currently using a particular task. - private int executingTasks = 0; - // True if the current task is executing. - private bool executing = false; - - public override bool CanExecute() - { - // The child task can execute if the number of executing tasks is less than the maximum number of tasks allowed. - return executingTasks < maxTaskAccessCount.Value && !executing; - } - - public override void OnChildStarted() - { - // The child task has started to run. Increase the executing tasks counter and notify all of the other linked tasks. - executingTasks++; - executing = true; - for (int i = 0; i < linkedTaskGuards.Length; ++i) { - linkedTaskGuards[i].taskExecuting(true); - } - } - - public override TaskStatus OverrideStatus(TaskStatus status) - { - // return a running status if the children are currently waiting for a task to become available - return (!executing && waitUntilTaskAvailable.Value) ? TaskStatus.Running : status; - } - - public void taskExecuting(bool increase) - { - // A linked task is currently executing a task that is being guarded. If the task just started executing then increase will be true and if it is ending then - // true will be false. - executingTasks += (increase ? 1 : -1); - } - - public override void OnEnd() - { - // The child task has been executed or skipped over. Only decrement the executing tasks count if the child task was being executed. Following that - // notify all of the linked tasks that we are done executing. - if (executing) { - executingTasks--; - for (int i = 0; i < linkedTaskGuards.Length; ++i) { - linkedTaskGuards[i].taskExecuting(false); - } - executing = false; - } - } - - public override void OnReset() - { - // Reset the public properties back to their original values - maxTaskAccessCount = null; - linkedTaskGuards = null; - waitUntilTaskAvailable = true; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/TaskGuard.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/TaskGuard.cs.meta deleted file mode 100644 index 99461010..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/TaskGuard.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7e2ae4ab352f20c41be106f92efc3b43 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilFailure.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilFailure.cs deleted file mode 100644 index 4bcd2c5d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilFailure.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("The until failure task will keep executing its child task until the child task returns failure.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=41")] - [TaskIcon("{SkinColor}UntilFailureIcon.png")] - public class UntilFailure : Decorator - { - // The status of the child after it has finished running. - private TaskStatus executionStatus = TaskStatus.Inactive; - - public override bool CanExecute() - { - // Keep running until the child task returns failure. - return executionStatus == TaskStatus.Success || executionStatus == TaskStatus.Inactive; - } - - public override void OnChildExecuted(TaskStatus childStatus) - { - // Update the execution status after a child has finished running. - executionStatus = childStatus; - } - - public override void OnEnd() - { - // Reset the execution status back to its starting values. - executionStatus = TaskStatus.Inactive; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilFailure.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilFailure.cs.meta deleted file mode 100644 index 6147662b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilFailure.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 934b87f8f563272469cd9a9b14046ae7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilSuccess.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilSuccess.cs deleted file mode 100644 index 77e0f77b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilSuccess.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - [TaskDescription("The until success task will keep executing its child task until the child task returns success.")] - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=42")] - [TaskIcon("{SkinColor}UntilSuccessIcon.png")] - public class UntilSuccess : Decorator - { - // The status of the child after it has finished running. - private TaskStatus executionStatus = TaskStatus.Inactive; - - public override bool CanExecute() - { - // Keep running until the child task returns success. - return executionStatus == TaskStatus.Failure || executionStatus == TaskStatus.Inactive; - } - - public override void OnChildExecuted(TaskStatus childStatus) - { - // Update the execution status after a child has finished running. - executionStatus = childStatus; - } - - public override void OnEnd() - { - // Reset the execution status back to its starting values. - executionStatus = TaskStatus.Inactive; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilSuccess.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilSuccess.cs.meta deleted file mode 100644 index c3887bf0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Decorators/UntilSuccess.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6d5c2cbf6c58f6b419831477bde98317 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/EntryTask.cs b/Assets/ThirdParty/Behavior Designer/Runtime/EntryTask.cs deleted file mode 100644 index b6212946..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/EntryTask.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace BehaviorDesigner.Runtime.Tasks -{ - // The entry task is a task that is used for display purposes within Behavior Designer to indicate the root of the tree. It is not a real task and - // cannot be used within the behavior tree. - [HelpURL("http://www.opsive.com/assets/BehaviorDesigner/documentation.php?id=23")] - [TaskIcon("{SkinColor}EntryIcon.png")] - public class EntryTask : ParentTask - { - public override int MaxChildren() - { - return 1; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/EntryTask.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/EntryTask.cs.meta deleted file mode 100644 index dda8982e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/EntryTask.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 143ae0c3fc255864893a532a2571f3d9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/ExternalBehaviorTree.cs b/Assets/ThirdParty/Behavior Designer/Runtime/ExternalBehaviorTree.cs deleted file mode 100644 index b3c10285..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/ExternalBehaviorTree.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class ExternalBehaviorTree : ExternalBehavior - { - // intentionally left blank - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/ExternalBehaviorTree.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/ExternalBehaviorTree.cs.meta deleted file mode 100644 index 6ef4f066..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/ExternalBehaviorTree.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b23f08d2ae4cba14087c1ed36193d82b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers.meta deleted file mode 100644 index 670a0100..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: 29d0d8866b4fa984bbc7dbf5d988ebcc -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs deleted file mode 100644 index d5dfe07d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs +++ /dev/null @@ -1,16 +0,0 @@ -using BehaviorDesigner.Runtime.Tasks; - -namespace BehaviorDesigner.Runtime.ObjectDrawers -{ - public class FloatSliderAttribute : ObjectDrawerAttribute - { - public float min; - public float max; - - public FloatSliderAttribute(float min, float max) - { - this.min = min; - this.max = max; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs.meta deleted file mode 100644 index 3596e7a7..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/FloatSliderAttribute.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 92948bfcff9a1fc48834935ebb0dbdcb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/IntSliderAttribute.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/IntSliderAttribute.cs deleted file mode 100644 index 753df253..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/IntSliderAttribute.cs +++ /dev/null @@ -1,16 +0,0 @@ -using BehaviorDesigner.Runtime.Tasks; - -namespace BehaviorDesigner.Runtime.ObjectDrawers -{ - public class IntSliderAttribute : ObjectDrawerAttribute - { - public int min; - public int max; - - public IntSliderAttribute(int min, int max) - { - this.min = min; - this.max = max; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/IntSliderAttribute.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/IntSliderAttribute.cs.meta deleted file mode 100644 index 5cb8e094..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Object Drawers/IntSliderAttribute.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2373bfe29d0e5bc47b88a46226aa6a61 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables.meta deleted file mode 100644 index 5aac262d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables.meta +++ /dev/null @@ -1,4 +0,0 @@ -fileFormatVersion: 2 -guid: a52d5a185c5a1614f875fcb1828d78d8 -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedBool.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedBool.cs deleted file mode 100644 index ec17b0d5..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedBool.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedBool : SharedVariable - { - public static implicit operator SharedBool(bool value) { return new SharedBool { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedBool.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedBool.cs.meta deleted file mode 100644 index 24a56fe0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedBool.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c2f4e02925f3d454c8a49a9f9cc1d497 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedColor.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedColor.cs deleted file mode 100644 index 1b07bd9d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedColor.cs +++ /dev/null @@ -1,10 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedColor : SharedVariable - { - public static implicit operator SharedColor(Color value) { return new SharedColor { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedColor.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedColor.cs.meta deleted file mode 100644 index 5cb6438b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedColor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1aebb6343767438449d67bf4118aeefe -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedFloat.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedFloat.cs deleted file mode 100644 index 5cfee32b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedFloat.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedFloat : SharedVariable - { - public static implicit operator SharedFloat(float value) { return new SharedFloat { Value = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedFloat.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedFloat.cs.meta deleted file mode 100644 index f2d785c3..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedFloat.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 954735ce9c49fd845add7abd7883211c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObject.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObject.cs deleted file mode 100644 index 9e44ef31..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObject.cs +++ /dev/null @@ -1,10 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedGameObject : SharedVariable - { - public static implicit operator SharedGameObject(GameObject value) { return new SharedGameObject { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObject.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObject.cs.meta deleted file mode 100644 index aee365b0..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObject.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: df84e4f8f0e526344a46be1b083e0218 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObjectList.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObjectList.cs deleted file mode 100644 index b5760184..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObjectList.cs +++ /dev/null @@ -1,11 +0,0 @@ -using UnityEngine; -using System.Collections.Generic; - -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedGameObjectList : SharedVariable> - { - public static implicit operator SharedGameObjectList(List value) { return new SharedGameObjectList { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObjectList.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObjectList.cs.meta deleted file mode 100644 index 956e5020..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedGameObjectList.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 70650d45c2fa6794a9fdd7d2a74bb59a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedInt.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedInt.cs deleted file mode 100644 index b74b41d1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedInt.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedInt : SharedVariable - { - public static implicit operator SharedInt(int value) { return new SharedInt { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedInt.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedInt.cs.meta deleted file mode 100644 index 0f06a31e..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedInt.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 00de328b40e8ac84ebf75e48fe353f38 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedMaterial.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedMaterial.cs deleted file mode 100644 index 57afa4f6..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedMaterial.cs +++ /dev/null @@ -1,10 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedMaterial : SharedVariable - { - public static implicit operator SharedMaterial(Material value) { return new SharedMaterial { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedMaterial.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedMaterial.cs.meta deleted file mode 100644 index c99828bf..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedMaterial.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2e84514e0f685a64795ecdb776888407 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObject.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObject.cs deleted file mode 100644 index cdea9ce9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObject.cs +++ /dev/null @@ -1,10 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedObject : SharedVariable - { - public static explicit operator SharedObject(Object value) { return new SharedObject { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObject.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObject.cs.meta deleted file mode 100644 index f9c153e9..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObject.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d5ffddfc2d65c6e4ca1dedda5afd6ccc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObjectList.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObjectList.cs deleted file mode 100644 index 26092e6a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObjectList.cs +++ /dev/null @@ -1,11 +0,0 @@ -using UnityEngine; -using System.Collections.Generic; - -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedObjectList : SharedVariable> - { - public static implicit operator SharedObjectList(List value) { return new SharedObjectList { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObjectList.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObjectList.cs.meta deleted file mode 100644 index 674f2268..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedObjectList.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c7644e981f746b5458fb6adbda412b2d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedQuaternion.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedQuaternion.cs deleted file mode 100644 index 10ce8229..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedQuaternion.cs +++ /dev/null @@ -1,10 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedQuaternion : SharedVariable - { - public static implicit operator SharedQuaternion(Quaternion value) { return new SharedQuaternion { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedQuaternion.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedQuaternion.cs.meta deleted file mode 100644 index 027e0ace..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedQuaternion.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1ec5ca504fe011b449506c42d3e5ac7f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedRect.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedRect.cs deleted file mode 100644 index 21a0b2fe..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedRect.cs +++ /dev/null @@ -1,10 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedRect : SharedVariable - { - public static implicit operator SharedRect(Rect value) { return new SharedRect { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedRect.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedRect.cs.meta deleted file mode 100644 index 68fded8a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedRect.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 23ef607e9df5ab742afbea152c79eed5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedString.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedString.cs deleted file mode 100644 index 0381c098..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedString.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedString : SharedVariable - { - public static implicit operator SharedString(string value) { return new SharedString { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedString.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedString.cs.meta deleted file mode 100644 index a64cb255..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedString.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2b562573ea4266848bc3f78352dca3a5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransform.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransform.cs deleted file mode 100644 index 7dc1479a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransform.cs +++ /dev/null @@ -1,10 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedTransform : SharedVariable - { - public static implicit operator SharedTransform(Transform value) { return new SharedTransform { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransform.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransform.cs.meta deleted file mode 100644 index 226ae88d..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransform.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3e084053b0dbe6541bc2408005c85606 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransformList.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransformList.cs deleted file mode 100644 index 6872404c..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransformList.cs +++ /dev/null @@ -1,11 +0,0 @@ -using UnityEngine; -using System.Collections.Generic; - -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedTransformList : SharedVariable> - { - public static implicit operator SharedTransformList(List value) { return new SharedTransformList { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransformList.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransformList.cs.meta deleted file mode 100644 index 33e37c1a..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedTransformList.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 11f38abc81b11804aabe69ae80011a60 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector2.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector2.cs deleted file mode 100644 index 379c4d55..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector2.cs +++ /dev/null @@ -1,10 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedVector2 : SharedVariable - { - public static implicit operator SharedVector2(Vector2 value) { return new SharedVector2 { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector2.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector2.cs.meta deleted file mode 100644 index 4eb4d791..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector2.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2398d4531b638134384482dcac3e850c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector3.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector3.cs deleted file mode 100644 index efda6408..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector3.cs +++ /dev/null @@ -1,10 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedVector3 : SharedVariable - { - public static implicit operator SharedVector3(Vector3 value) { return new SharedVector3 { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector3.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector3.cs.meta deleted file mode 100644 index 6588f7ac..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector3.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2093670c041663d4096c217e7c790683 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector4.cs b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector4.cs deleted file mode 100644 index 971eea3b..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector4.cs +++ /dev/null @@ -1,10 +0,0 @@ -using UnityEngine; - -namespace BehaviorDesigner.Runtime -{ - [System.Serializable] - public class SharedVector4 : SharedVariable - { - public static implicit operator SharedVector4(Vector4 value) { return new SharedVector4 { mValue = value }; } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector4.cs.meta b/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector4.cs.meta deleted file mode 100644 index b42454b1..00000000 --- a/Assets/ThirdParty/Behavior Designer/Runtime/Variables/SharedVector4.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e12e4a2550a6e5f4aa39fdd59126ed66 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: -- cgit v1.1-26-g67d0