您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
39 行
36 KiB
39 行
36 KiB
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!114 &11400000
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 0}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 1083378141, guid: dcd2196c4e9166f499793f2007fcda35, type: 3}
|
|
m_Name: EnemyAi
|
|
m_EditorClassIdentifier:
|
|
_data:
|
|
_json: '{"graph":{"title":null,"summary":null,"pan":{"x":-125.0,"y":45.5},"zoom":1.0,"elements":[{"nest":{"source":"Embed","macro":null,"embed":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":"Patrol","summary":null,"pan":{"x":507.9776,"y":125.5492},"zoom":0.4,"elements":[{"type":"System.Boolean","value":{"$content":true,"$type":"System.Boolean"},"defaultValues":{},"position":{"x":-674.0,"y":-134.0},"guid":"db222a64-92e5-4357-a08e-3f41fad4f87b","$version":"A","$type":"Bolt.Literal","$id":"13"},{"member":{"name":"z","parameterTypes":null,"targetType":"UnityEngine.Vector3","targetTypeName":"UnityEngine.Vector3","$version":"A"},"defaultValues":{"target":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":-34.0,"y":636.0},"guid":"853a8ceb-fd11-45aa-8de5-5691025678a4","$version":"A","$type":"Bolt.GetMember","$id":"15"},{"coroutine":true,"defaultValues":{},"position":{"x":-676.0,"y":-238.0},"guid":"0f51421d-bea5-47ef-ae9e-0948d73e5010","$version":"A","$type":"Bolt.OnEnterState","$id":"18"},{"chainable":false,"member":{"name":"Range","parameterTypes":["System.Int32","System.Int32"],"targetType":"UnityEngine.Random","targetTypeName":"UnityEngine.Random","$version":"A"},"defaultValues":{"%min":{"$content":1,"$type":"System.Int32"},"%max":{"$content":4,"$type":"System.Int32"}},"position":{"x":1181.0,"y":-116.0},"guid":"f7c8648b-34e5-4f95-be14-1f6f706cae19","$version":"A","$type":"Bolt.InvokeMember","$id":"20"},{"defaultValues":{"seconds":{"$content":0.0,"$type":"System.Single"},"unscaledTime":{"$content":false,"$type":"System.Boolean"}},"position":{"x":1354.0,"y":-208.0},"guid":"4ed34383-ec1f-4a3b-bc67-c51f7c9d8459","$version":"A","$type":"Bolt.WaitForSecondsUnit","$id":"23"},{"member":{"name":"z","parameterTypes":null,"targetType":"UnityEngine.Vector3","targetTypeName":"UnityEngine.Vector3","$version":"A"},"defaultValues":{"target":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":-37.0,"y":531.0},"guid":"dcb4d11c-b4dc-467a-85c9-a5e375f3629e","$version":"A","$type":"Bolt.GetMember","$id":"25"},{"chainable":false,"member":{"name":"Range","parameterTypes":["System.Single","System.Single"],"targetType":"UnityEngine.Random","targetTypeName":"UnityEngine.Random","$version":"A"},"defaultValues":{"%min":{"$content":0.0,"$type":"System.Single"},"%max":{"$content":0.0,"$type":"System.Single"}},"position":{"x":146.0,"y":556.0},"guid":"71f56c70-2c2b-479d-963f-ef9cfc3c79ac","$version":"A","$type":"Bolt.InvokeMember","$id":"28"},{"defaultValues":{},"position":{"x":-459.0,"y":-216.0},"guid":"519c5bfb-7133-4702-b9e9-10e7a0b204d7","$version":"A","$type":"Bolt.While","$id":"31"},{"member":{"name":"max","parameterTypes":null,"targetType":"UnityEngine.Bounds","targetTypeName":"UnityEngine.Bounds","$version":"A"},"defaultValues":{},"position":{"x":-238.0,"y":414.0},"guid":"a8a10daf-b2f6-4b02-838e-0d95522b2c4a","$version":"A","$type":"Bolt.GetMember","$id":"33"},{"chainable":false,"member":{"name":"Range","parameterTypes":["System.Single","System.Single"],"targetType":"UnityEngine.Random","targetTypeName":"UnityEngine.Random","$version":"A"},"defaultValues":{"%min":{"$content":0.0,"$type":"System.Single"},"%max":{"$content":0.0,"$type":"System.Single"}},"position":{"x":141.0,"y":66.0},"guid":"79847137-ab19-4f38-8c72-d173627d45ad","$version":"A","$type":"Bolt.InvokeMember","$id":"36"},{"member":{"name":"x","parameterTypes":null,"targetType":"UnityEngine.Vector3","targetTypeName":"UnityEngine.Vector3","$version":"A"},"defaultValues":{"target":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":-33.0,"y":60.0},"guid":"dd1bb164-09d9-4c9b-8b69-9773ca21bd31","$version":"A","$type":"Bolt.GetMember","$id":"39"},{"member":{"name":"x","parameterTypes":null,"targetType":"UnityEngine.Vector3","targetTypeName":"UnityEngine.Vector3","$version":"A"},"defaultValues":{"target":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":-30.0,"y":165.0},"guid":"bf9deec8-547b-46e1-beff-6f27b111bf47","$version":"A","$type":"Bolt.GetMember","$id":"42"},{"chainable":false,"member":{"name":"destination","parameterTypes":null,"targetType":"UnityEngine.AI.NavMeshAgent","targetTypeName":"UnityEngine.AI.NavMeshAgent","$version":"A"},"defaultValues":{"target":null,"input":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":798.0,"y":-195.0},"guid":"c9dc1844-8037-4cb5-82e0-9bd5efc73915","$version":"A","$type":"Bolt.SetMember","$id":"45"},{"member":{"name":"y","parameterTypes":null,"targetType":"UnityEngine.Vector3","targetTypeName":"UnityEngine.Vector3","$version":"A"},"defaultValues":{"target":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":-29.0,"y":409.0},"guid":"d7e92132-95c9-4121-8b65-36a7e28e0923","$version":"A","$type":"Bolt.GetMember","$id":"48"},{"member":{"name":"bounds","parameterTypes":null,"targetType":"UnityEngine.BoxCollider","targetTypeName":"UnityEngine.BoxCollider","$version":"A"},"defaultValues":{"target":null},"position":{"x":-445.0,"y":364.0},"guid":"f5557e3c-2157-4790-bb8d-e871aff46c60","$version":"A","$type":"Bolt.GetMember","$id":"51"},{"member":{"name":"min","parameterTypes":null,"targetType":"UnityEngine.Bounds","targetTypeName":"UnityEngine.Bounds","$version":"A"},"defaultValues":{},"position":{"x":-239.0,"y":305.0},"guid":"04ede0e0-38bd-4219-be2a-b087fe5cef69","$version":"A","$type":"Bolt.GetMember","$id":"54"},{"member":{"name":"y","parameterTypes":null,"targetType":"UnityEngine.Vector3","targetTypeName":"UnityEngine.Vector3","$version":"A"},"defaultValues":{"target":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":-32.0,"y":304.0},"guid":"58ba7834-5d80-427e-ac88-5c4e8d7d72d2","$version":"A","$type":"Bolt.GetMember","$id":"57"},{"chainable":false,"member":{"name":"Range","parameterTypes":["System.Single","System.Single"],"targetType":"UnityEngine.Random","targetTypeName":"UnityEngine.Random","$version":"A"},"defaultValues":{"%min":{"$content":0.0,"$type":"System.Single"},"%max":{"$content":0.0,"$type":"System.Single"}},"position":{"x":151.0,"y":329.0},"guid":"3fab40e4-4e0c-4711-81b8-7f42363c1635","$version":"A","$type":"Bolt.InvokeMember","$id":"60"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"PatrolArea","$type":"System.String"},"object":null},"position":{"x":-653.0,"y":358.0},"guid":"cae3a15d-1acd-4aa0-8286-b9b53ecdb0ba","$version":"A","$type":"Bolt.GetVariable","$id":"63"},{"chainable":false,"member":{"name":".ctor","parameterTypes":["System.Single","System.Single","System.Single"],"targetType":"UnityEngine.Vector3","targetTypeName":"UnityEngine.Vector3","$version":"A"},"defaultValues":{"%x":{"$content":0.0,"$type":"System.Single"},"%y":{"$content":0.0,"$type":"System.Single"},"%z":{"$content":0.0,"$type":"System.Single"}},"position":{"x":477.0,"y":308.0},"guid":"de2a3a95-8de1-4e2e-86a5-645aece56e2c","$version":"A","$type":"Bolt.InvokeMember","$id":"65"},{"sourceUnit":{"$ref":"18"},"sourceKey":"trigger","destinationUnit":{"$ref":"31"},"destinationKey":"enter","guid":"fcdcc218-ff92-43a4-b51d-86c643ccb43d","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"31"},"sourceKey":"body","destinationUnit":{"$ref":"45"},"destinationKey":"assign","guid":"cb4f4fd9-fd08-470d-ae16-32fad590ed2f","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"45"},"sourceKey":"assigned","destinationUnit":{"$ref":"23"},"destinationKey":"enter","guid":"9ebafdce-14c9-49c3-8856-752c3d818be4","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"42"},"sourceKey":"value","destinationUnit":{"$ref":"36"},"destinationKey":"%max","guid":"8acdf3e1-24b7-4289-bb24-821da6141495","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"39"},"sourceKey":"value","destinationUnit":{"$ref":"36"},"destinationKey":"%min","guid":"a7727c0b-35a1-41c2-aa05-76f2f4cc893e","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"54"},"sourceKey":"value","destinationUnit":{"$ref":"39"},"destinationKey":"target","guid":"8c8a5a8d-c693-4a0d-8ea0-38e8540a654f","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"13"},"sourceKey":"output","destinationUnit":{"$ref":"31"},"destinationKey":"condition","guid":"674cee8c-2a1e-45dc-bdf8-5a1178bd3443","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"15"},"sourceKey":"value","destinationUnit":{"$ref":"28"},"destinationKey":"%max","guid":"284da37a-2790-400b-8f46-4e3f8488d816","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"51"},"sourceKey":"value","destinationUnit":{"$ref":"54"},"destinationKey":"target","guid":"3e35aeb6-fe8a-4b55-84d3-012435667895","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"33"},"sourceKey":"value","destinationUnit":{"$ref":"42"},"destinationKey":"target","guid":"8bd3c867-654d-4a12-b430-66b99cba3f26","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"20"},"sourceKey":"result","destinationUnit":{"$ref":"23"},"destinationKey":"seconds","guid":"afb3bfa4-58db-41fe-87dc-b8bd8583c3e6","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"54"},"sourceKey":"value","destinationUnit":{"$ref":"25"},"destinationKey":"target","guid":"d7882e98-c140-4a0e-99a5-c94ccbea2498","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"60"},"sourceKey":"result","destinationUnit":{"$ref":"65"},"destinationKey":"%y","guid":"49eedb6c-ca44-48c6-b3e3-7c25557136d6","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"33"},"sourceKey":"value","destinationUnit":{"$ref":"15"},"destinationKey":"target","guid":"2e097c13-6111-449b-8e83-6057a6245fcf","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"51"},"sourceKey":"value","destinationUnit":{"$ref":"33"},"destinationKey":"target","guid":"090ea975-a4ea-497b-8c4d-e689994b0cf0","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"28"},"sourceKey":"result","destinationUnit":{"$ref":"65"},"destinationKey":"%z","guid":"d18d8158-945f-498c-ad4a-702cd3fcafc7","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"36"},"sourceKey":"result","destinationUnit":{"$ref":"65"},"destinationKey":"%x","guid":"13373728-871f-42a2-88c0-df804140518d","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"57"},"sourceKey":"value","destinationUnit":{"$ref":"60"},"destinationKey":"%min","guid":"7288be2e-2cab-464c-9d2d-c3735d30eb6a","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"48"},"sourceKey":"value","destinationUnit":{"$ref":"60"},"destinationKey":"%max","guid":"13326ed6-ba25-42c8-9c20-db888dd5f66e","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"33"},"sourceKey":"value","destinationUnit":{"$ref":"48"},"destinationKey":"target","guid":"1d1f1b4b-831a-43d5-ba02-c163a576ec64","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"63"},"sourceKey":"value","destinationUnit":{"$ref":"51"},"destinationKey":"target","guid":"220ed746-59b4-4f08-a6c3-8b894e91d3a9","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"25"},"sourceKey":"value","destinationUnit":{"$ref":"28"},"destinationKey":"%min","guid":"effb80d2-746a-43e6-bcf2-0d34b0420b75","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"54"},"sourceKey":"value","destinationUnit":{"$ref":"57"},"destinationKey":"target","guid":"40aa56e0-259e-408c-abd4-32abbbbb8032","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"65"},"sourceKey":"result","destinationUnit":{"$ref":"45"},"destinationKey":"input","guid":"2e101c3d-7f3d-4bd7-8af5-f8b67296e534","$type":"Bolt.ValueConnection"},{"position":{"xMin":1117.0,"yMin":-280.0,"xMax":1516.0,"yMax":43.0},"label":"Wait
|
|
a little bit","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"aecbb1d7-1a53-4c39-956e-07d28eeb7785","$version":"A","$type":"Ludiq.GraphGroup"},{"position":{"xMin":-724.0,"yMin":-299.0,"xMax":-279.0,"yMax":-33.0},"label":"Loop
|
|
forever in a coroutine","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"bf1c601e-b43e-4482-a530-21cfed548ee0","$version":"A","$type":"Ludiq.GraphGroup"},{"position":{"xMin":-765.0,"yMin":-366.0,"xMax":1567.0,"yMax":793.0},"label":"Pick
|
|
random patrol objective","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"7366c38a-6509-43ed-8833-a6cf1bbf5de2","$version":"A","$type":"Ludiq.GraphGroup"},{"position":{"xMin":-699.0,"yMin":-5.0,"xMax":645.0,"yMax":753.0},"label":"Pick
|
|
a random position within patrol area","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"16e17224-03f0-4aba-a9ea-34fcc04f4c1a","$version":"A","$type":"Ludiq.GraphGroup"},{"position":{"xMin":691.0,"yMin":-275.0,"xMax":996.0,"yMax":-7.0},"label":"Set
|
|
destination via nav mesh","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"815d2fe8-9276-4ece-96de-4c461dc06387","$version":"A","$type":"Ludiq.GraphGroup"}],"$version":"A"}},"isStart":true,"position":{"x":-331.0,"y":-136.0},"width":170.0,"guid":"815ab59a-dd85-4925-89c6-ac77eb317db5","$version":"A","$type":"Bolt.FlowState","$id":"3"},{"nest":{"source":"Embed","macro":null,"embed":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":"Chase","summary":null,"pan":{"x":-588.9131,"y":-22.33864},"zoom":0.9000001,"elements":[{"coroutine":false,"defaultValues":{},"position":{"x":-691.0,"y":-143.0},"guid":"9955665c-41fc-4166-98e4-77f0ee58aa61","$version":"A","$type":"Bolt.Update","$id":"107"},{"chainable":false,"member":{"name":"destination","parameterTypes":null,"targetType":"UnityEngine.AI.NavMeshAgent","targetTypeName":"UnityEngine.AI.NavMeshAgent","$version":"A"},"defaultValues":{"target":null,"input":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":-506.0,"y":-116.0},"guid":"8d06a13f-18b1-4ea3-8ddd-f92a9a0c734f","$version":"A","$type":"Bolt.SetMember","$id":"109"},{"member":{"name":"position","parameterTypes":null,"targetType":"UnityEngine.Transform","targetTypeName":"UnityEngine.Transform","$version":"A"},"defaultValues":{"target":null},"position":{"x":-701.0,"y":-42.0},"guid":"8b1a39c8-a24c-478d-934f-6dd14bfd0197","$version":"A","$type":"Bolt.GetMember","$id":"112"},{"specifyFallback":false,"kind":"Application","defaultValues":{"name":{"$content":"Player","$type":"System.String"}},"position":{"x":-893.0,"y":-45.0},"guid":"8fad134d-8983-49ab-bec0-7823a231cf79","$version":"A","$type":"Bolt.GetVariable","$id":"115"},{"sourceUnit":{"$ref":"107"},"sourceKey":"trigger","destinationUnit":{"$ref":"109"},"destinationKey":"assign","guid":"23f2f279-1905-4bf5-be66-3f2829eed22c","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"112"},"sourceKey":"value","destinationUnit":{"$ref":"109"},"destinationKey":"input","guid":"1a2a9241-d4f4-4e3e-9553-8ae92108742e","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"115"},"sourceKey":"value","destinationUnit":{"$ref":"112"},"destinationKey":"target","guid":"9f3fffa5-1273-4840-bd44-2225fa237e55","$type":"Bolt.ValueConnection"},{"position":{"xMin":-952.6667,"yMin":-205.7778,"xMax":-310.4445,"yMax":70.33331},"label":"Chase
|
|
player via nav mesh","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"4719dcfa-1416-40c3-bc8c-555590878aaf","$version":"A","$type":"Ludiq.GraphGroup"}],"$version":"A"}},"isStart":false,"position":{"x":-334.0,"y":72.0},"width":170.0,"guid":"e31f8f1c-888d-47a2-b5bc-83528ba8755c","$version":"A","$type":"Bolt.FlowState","$id":"97"},{"nest":{"source":"Embed","macro":null,"embed":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":"Attack","summary":null,"pan":{"x":549.853,"y":-8.50739},"zoom":1.0,"elements":[{"coroutine":false,"defaultValues":{},"position":{"x":-297.0,"y":-381.0},"guid":"5049a38a-0f7a-4f95-92e1-d83c93a93605","$version":"A","$type":"Bolt.Update","$id":"131"},{"member":{"name":"y","parameterTypes":null,"targetType":"UnityEngine.Vector3","targetTypeName":"UnityEngine.Vector3","$version":"A"},"defaultValues":{"target":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":-432.0,"y":-77.0},"guid":"28a3e5ea-83a7-4318-8514-5e0b9a4392d0","$version":"A","$type":"Bolt.GetMember","$id":"133"},{"member":{"name":"position","parameterTypes":null,"targetType":"UnityEngine.Transform","targetTypeName":"UnityEngine.Transform","$version":"A"},"defaultValues":{"target":null},"position":{"x":-646.0,"y":-34.0},"guid":"bd6bcd2b-a055-4d65-aeb3-f481983d4d18","$version":"A","$type":"Bolt.GetMember","$id":"136"},{"member":{"name":"z","parameterTypes":null,"targetType":"UnityEngine.Vector3","targetTypeName":"UnityEngine.Vector3","$version":"A"},"defaultValues":{"target":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":-431.0,"y":29.0},"guid":"2c1c06ff-50a7-40b7-920b-50c31adca346","$version":"A","$type":"Bolt.GetMember","$id":"139"},{"member":{"name":"x","parameterTypes":null,"targetType":"UnityEngine.Vector3","targetTypeName":"UnityEngine.Vector3","$version":"A"},"defaultValues":{"target":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":-429.0,"y":-176.0},"guid":"9f65aaf9-15c4-412c-be6d-dc62063d5d4c","$version":"A","$type":"Bolt.GetMember","$id":"142"},{"nest":{"source":"Macro","macro":0,"embed":null},"defaultValues":{"Cooldown":{"$content":1.0,"$type":"System.Single"},"Bullet":{"$content":1,"$type":"UnityEngine.Object"}},"position":{"x":832.0,"y":-181.0},"guid":"3f1c1fff-0597-4782-93d8-a2812483bacd","$version":"A","$type":"Bolt.SuperUnit","$id":"145"},{"specifyFallback":false,"kind":"Application","defaultValues":{"name":{"$content":"Player","$type":"System.String"}},"position":{"x":-837.0,"y":-141.0},"guid":"38034702-5a1b-46d2-b333-9d99e9fe2b2b","$version":"A","$type":"Bolt.GetVariable","$id":"148"},{"specifyFallback":false,"kind":"Application","defaultValues":{"name":{"$content":"Player","$type":"System.String"}},"position":{"x":181.0,"y":-4.0},"guid":"b0bb252b-b444-4d1e-9628-642e542fc3d4","$version":"A","$type":"Bolt.GetVariable","$id":"150"},{"member":{"name":"position","parameterTypes":null,"targetType":"UnityEngine.Transform","targetTypeName":"UnityEngine.Transform","$version":"A"},"defaultValues":{"target":null},"position":{"x":583.0,"y":9.0},"guid":"86f09f8b-4ace-48ca-9f83-047553bcdb6f","$version":"A","$type":"Bolt.GetMember","$id":"152"},{"chainable":false,"member":{"name":"LookAt","parameterTypes":["UnityEngine.Vector3","UnityEngine.Vector3"],"targetType":"UnityEngine.Transform","targetTypeName":"UnityEngine.Transform","$version":"A"},"defaultValues":{"target":null,"%worldPosition":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"},"%worldUp":{"x":0.0,"y":1.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":-74.0,"y":-188.0},"guid":"a0068d0c-5416-45fb-88a0-b1b92488d774","$version":"A","$type":"Bolt.InvokeMember","$id":"155"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"FireOrigin","$type":"System.String"},"object":null},"position":{"x":354.0,"y":-114.0},"guid":"47f07b06-888c-47be-910c-33e6e6933bc0","$version":"A","$type":"Bolt.GetVariable","$id":"158"},{"member":{"name":"position","parameterTypes":null,"targetType":"UnityEngine.Transform","targetTypeName":"UnityEngine.Transform","$version":"A"},"defaultValues":{"target":null},"position":{"x":-638.0,"y":-139.0},"guid":"9caa78b9-5472-4ac7-81c4-dc728b6fff84","$version":"A","$type":"Bolt.GetMember","$id":"160"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"CameraTarget","$type":"System.String"},"object":null},"position":{"x":363.0,"y":5.0},"guid":"b0ffaffa-7ecf-4f80-8986-6dfc091a7f74","$version":"A","$type":"Bolt.GetVariable","$id":"163"},{"chainable":false,"member":{"name":".ctor","parameterTypes":["System.Single","System.Single","System.Single"],"targetType":"UnityEngine.Vector3","targetTypeName":"UnityEngine.Vector3","$version":"A"},"defaultValues":{"%x":{"$content":0.0,"$type":"System.Single"},"%y":{"$content":0.0,"$type":"System.Single"},"%z":{"$content":0.0,"$type":"System.Single"}},"position":{"x":-258.0,"y":-167.0},"guid":"8e89b45b-73a5-47fc-bab2-ef3f97ee67e3","$version":"A","$type":"Bolt.InvokeMember","$id":"165"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"BulletPrefab","$type":"System.String"},"object":null},"position":{"x":573.0,"y":-245.0},"guid":"52bd7842-7436-499d-b9a8-5f2a47877692","$version":"A","$type":"Bolt.GetVariable","$id":"168"},{"sourceUnit":{"$ref":"131"},"sourceKey":"trigger","destinationUnit":{"$ref":"155"},"destinationKey":"enter","guid":"7608810b-0b6c-47e3-9c06-a6b15442d00a","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"155"},"sourceKey":"exit","destinationUnit":{"$ref":"145"},"destinationKey":"Fire","guid":"b917acd3-ed78-4792-a3e4-7bee0ab16669","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"142"},"sourceKey":"value","destinationUnit":{"$ref":"165"},"destinationKey":"%x","guid":"6bb90b1d-bf66-4857-a39f-fac5dd50f963","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"136"},"sourceKey":"value","destinationUnit":{"$ref":"133"},"destinationKey":"target","guid":"50e9ffd9-5576-43c1-b41c-f760290c29eb","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"148"},"sourceKey":"value","destinationUnit":{"$ref":"160"},"destinationKey":"target","guid":"7cb88fed-01da-46a9-bbb5-e083f9267652","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"160"},"sourceKey":"value","destinationUnit":{"$ref":"142"},"destinationKey":"target","guid":"7a5233ea-c949-4a9f-8d81-23b03fc8e7c0","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"152"},"sourceKey":"value","destinationUnit":{"$ref":"145"},"destinationKey":"Target","guid":"10f4015b-b0ab-4b2a-9de4-a86dfcd0e891","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"158"},"sourceKey":"value","destinationUnit":{"$ref":"145"},"destinationKey":"Origin","guid":"a9d4d574-c992-4feb-aab2-5f5d8cf59b12","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"139"},"sourceKey":"value","destinationUnit":{"$ref":"165"},"destinationKey":"%z","guid":"f3488642-032b-4b79-8fde-be4c05721d19","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"160"},"sourceKey":"value","destinationUnit":{"$ref":"139"},"destinationKey":"target","guid":"2c74c59a-a050-4b00-9a63-cd84c72107a6","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"133"},"sourceKey":"value","destinationUnit":{"$ref":"165"},"destinationKey":"%y","guid":"0ff14196-fdd5-4adb-926f-58088ebbf53b","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"163"},"sourceKey":"value","destinationUnit":{"$ref":"152"},"destinationKey":"target","guid":"e2a954ce-7afb-4356-9041-7f1691e5eee5","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"150"},"sourceKey":"value","destinationUnit":{"$ref":"163"},"destinationKey":"object","guid":"baab7138-25a1-454c-a008-6a8b70b0ef9f","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"165"},"sourceKey":"result","destinationUnit":{"$ref":"155"},"destinationKey":"%worldPosition","guid":"366f3048-1e19-4d75-91ba-1117844666fc","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"168"},"sourceKey":"value","destinationUnit":{"$ref":"145"},"destinationKey":"Bullet","guid":"63720f02-0d43-4392-b92b-08d3cf9c2860","$type":"Bolt.ValueConnection"},{"position":{"xMin":-885.8182,"yMin":-277.7273,"xMax":121.4547,"yMax":136.3637},"label":"Face
|
|
the player","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"ce44a7ba-2593-4f4d-98ae-ad865d714981","$version":"A","$type":"Ludiq.GraphGroup"},{"position":{"xMin":153.8183,"yMin":-288.4545,"xMax":1035.636,"yMax":136.5455},"label":"Fire
|
|
towards the player","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"d26f0f0a-d6ef-4c5a-9c1b-9d14a5c8c586","$version":"A","$type":"Ludiq.GraphGroup"}],"$version":"A"}},"isStart":false,"position":{"x":66.0,"y":49.0},"width":170.0,"guid":"789653ab-2380-4a71-9224-65e23950df8e","$version":"A","$type":"Bolt.FlowState","$id":"121"},{"nest":{"source":"Embed","macro":null,"embed":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":"Player
|
|
Detected","summary":null,"pan":{"x":-265.0,"y":32.0},"zoom":1.0,"elements":[{"defaultValues":{},"position":{"x":-22.0,"y":-65.0},"guid":"c6b1b1e5-b769-4db0-9e5d-6b459fcd5639","$version":"A","$type":"Bolt.TriggerStateTransition","$id":"197"},{"coroutine":false,"defaultValues":{},"position":{"x":-424.0,"y":-121.0},"guid":"98445da9-54b9-4669-bc47-7ebb36e4300c","$version":"A","$type":"Bolt.Update","$id":"199"},{"defaultValues":{},"position":{"x":-206.0,"y":-72.0},"guid":"54b81d0c-4636-4533-96c7-20585df10272","$version":"A","$type":"Bolt.Branch","$id":"201"},{"nest":{"source":"Macro","macro":2,"embed":null},"defaultValues":{},"position":{"x":-435.0,"y":0.0},"guid":"d0bebc86-5210-4ae8-aaee-bdda6dc38c15","$version":"A","$type":"Bolt.SuperUnit","$id":"203"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"ChaseRange","$type":"System.String"},"object":null},"position":{"x":-672.0,"y":32.0},"guid":"7ae47ad4-2cf9-4200-a96d-8bf81dc951ff","$version":"A","$type":"Bolt.GetVariable","$id":"206"},{"specifyFallback":false,"kind":"Application","defaultValues":{"name":{"$content":"Player","$type":"System.String"}},"position":{"x":-640.0,"y":-85.0},"guid":"2cf6bc62-f27c-43c7-b18a-54632bb52483","$version":"A","$type":"Bolt.GetVariable","$id":"208"},{"sourceUnit":{"$ref":"199"},"sourceKey":"trigger","destinationUnit":{"$ref":"201"},"destinationKey":"enter","guid":"ae5a4d4e-e3b3-49b2-945f-0e0820474b36","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"201"},"sourceKey":"ifTrue","destinationUnit":{"$ref":"197"},"destinationKey":"trigger","guid":"7540ef5b-5ece-441f-9884-2162a93d1bd4","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"203"},"sourceKey":"Within
|
|
Range","destinationUnit":{"$ref":"201"},"destinationKey":"condition","guid":"40d2c45d-a103-4b34-abb6-0c0bf84c9029","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"206"},"sourceKey":"value","destinationUnit":{"$ref":"203"},"destinationKey":"Range","guid":"002d3eb4-de3b-41c1-bd6c-bc2b5a7a913e","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"208"},"sourceKey":"value","destinationUnit":{"$ref":"203"},"destinationKey":"Other","guid":"f25deb1f-3ba1-499e-be58-62fecb5ff3e4","$type":"Bolt.ValueConnection"}],"$version":"A"}},"source":{"$ref":"3"},"destination":{"$ref":"97"},"guid":"77fff750-5ea1-4780-a328-f4145cb35a0c","$version":"A","$type":"Bolt.FlowStateTransition"},{"nest":{"source":"Embed","macro":null,"embed":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":"Player
|
|
Escaped","summary":null,"pan":{"x":0.0,"y":0.0},"zoom":1.0,"elements":[{"defaultValues":{},"position":{"x":244.0,"y":-70.0},"guid":"71605d82-53d1-4139-bb9b-e709d51a8e57","$version":"A","$type":"Bolt.TriggerStateTransition","$id":"225"},{"coroutine":false,"defaultValues":{},"position":{"x":-158.0,"y":-126.0},"guid":"f58f5ba1-a0d1-463b-a580-d2a0a02c7a0b","$version":"A","$type":"Bolt.Update","$id":"227"},{"defaultValues":{},"position":{"x":60.0,"y":-76.0},"guid":"aeef01d9-753d-4f96-8f79-6df373bb1219","$version":"A","$type":"Bolt.Branch","$id":"229"},{"nest":{"source":"Macro","macro":3,"embed":null},"defaultValues":{},"position":{"x":-170.0,"y":-4.0},"guid":"40f2ea1f-f641-44be-92bc-ac78cd245002","$version":"A","$type":"Bolt.SuperUnit","$id":"231"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"ChaseRange","$type":"System.String"},"object":null},"position":{"x":-406.0,"y":28.0},"guid":"802eccff-e888-486f-a228-d9f66c0ce746","$version":"A","$type":"Bolt.GetVariable","$id":"234"},{"specifyFallback":false,"kind":"Application","defaultValues":{"name":{"$content":"Player","$type":"System.String"}},"position":{"x":-374.0,"y":-90.0},"guid":"aac18ef4-9ecf-4de1-ad20-04aba64e5f76","$version":"A","$type":"Bolt.GetVariable","$id":"236"},{"sourceUnit":{"$ref":"227"},"sourceKey":"trigger","destinationUnit":{"$ref":"229"},"destinationKey":"enter","guid":"f290721f-ab83-45ee-af92-069f0d8411b3","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"229"},"sourceKey":"ifFalse","destinationUnit":{"$ref":"225"},"destinationKey":"trigger","guid":"dfceba9e-5147-4919-8032-04a459063c9e","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"231"},"sourceKey":"Within
|
|
Range","destinationUnit":{"$ref":"229"},"destinationKey":"condition","guid":"f71c44a7-8099-4149-9dc8-2b4f711cb569","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"236"},"sourceKey":"value","destinationUnit":{"$ref":"231"},"destinationKey":"Other","guid":"2cb59035-eebc-4346-a409-a03921e5bf3e","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"234"},"sourceKey":"value","destinationUnit":{"$ref":"231"},"destinationKey":"Range","guid":"33ec500d-5804-4c84-a94f-2201f1e18c6c","$type":"Bolt.ValueConnection"}],"$version":"A"}},"source":{"$ref":"97"},"destination":{"$ref":"3"},"guid":"34cfd254-2d3a-4a89-a29a-62e65ac8b403","$version":"A","$type":"Bolt.FlowStateTransition"},{"nest":{"source":"Embed","macro":null,"embed":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":"Within
|
|
Attack Range","summary":null,"pan":{"x":-74.0,"y":25.0},"zoom":1.0,"elements":[{"defaultValues":{},"position":{"x":244.0,"y":-70.0},"guid":"b108d220-56eb-4292-aaf2-e8eea063b3c4","$version":"A","$type":"Bolt.TriggerStateTransition","$id":"253"},{"coroutine":false,"defaultValues":{},"position":{"x":-158.0,"y":-126.0},"guid":"20066051-de2f-40b3-b8fc-53b55584879c","$version":"A","$type":"Bolt.Update","$id":"255"},{"defaultValues":{},"position":{"x":60.0,"y":-76.0},"guid":"4b2f8735-30cb-4a09-8b16-7c605e84fcef","$version":"A","$type":"Bolt.Branch","$id":"257"},{"nest":{"source":"Macro","macro":4,"embed":null},"defaultValues":{},"position":{"x":-170.0,"y":-4.0},"guid":"c42481d9-662f-4d0c-82cb-5293ee97f7f3","$version":"A","$type":"Bolt.SuperUnit","$id":"259"},{"specifyFallback":true,"kind":"Object","defaultValues":{"name":{"$content":"AttackRange","$type":"System.String"},"object":null},"position":{"x":-406.0,"y":28.0},"guid":"2eef83e9-2a58-40ea-a520-db2b3cfd32d1","$version":"A","$type":"Bolt.GetVariable","$id":"262"},{"specifyFallback":false,"kind":"Application","defaultValues":{"name":{"$content":"Player","$type":"System.String"}},"position":{"x":-374.0,"y":-90.0},"guid":"0e01f831-44a3-4b5d-95d6-2ae49b64e659","$version":"A","$type":"Bolt.GetVariable","$id":"264"},{"type":"System.Single","value":{"$content":0.0,"$type":"System.Single"},"defaultValues":{},"position":{"x":-551.0,"y":68.0},"guid":"a49b4cc4-9556-42c5-8a04-b53873dba4fe","$version":"A","$type":"Bolt.Literal","$id":"266"},{"sourceUnit":{"$ref":"257"},"sourceKey":"ifTrue","destinationUnit":{"$ref":"253"},"destinationKey":"trigger","guid":"488aca2e-d381-49fb-9266-4ed2b551b801","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"255"},"sourceKey":"trigger","destinationUnit":{"$ref":"257"},"destinationKey":"enter","guid":"f7af987b-054d-4265-a336-7e6db50674ec","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"259"},"sourceKey":"Within
|
|
Range","destinationUnit":{"$ref":"257"},"destinationKey":"condition","guid":"16b5f36a-77a3-4c1e-ba2d-913ddab71be3","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"264"},"sourceKey":"value","destinationUnit":{"$ref":"259"},"destinationKey":"Other","guid":"e1b4fa90-6fa8-457e-b45f-1fee29b529ac","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"262"},"sourceKey":"value","destinationUnit":{"$ref":"259"},"destinationKey":"Range","guid":"cd09d0c3-851c-4264-a100-687513b482b3","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"266"},"sourceKey":"output","destinationUnit":{"$ref":"262"},"destinationKey":"fallback","guid":"616e683d-9e96-4a58-a502-e9593cd0765c","$type":"Bolt.ValueConnection"}],"$version":"A"}},"source":{"$ref":"97"},"destination":{"$ref":"121"},"guid":"3e1b5b49-a7a7-4b4c-99bd-31b9cd7c3863","$version":"A","$type":"Bolt.FlowStateTransition"},{"nest":{"source":"Embed","macro":null,"embed":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":"Out
|
|
of attack range","summary":null,"pan":{"x":0.0,"y":0.0},"zoom":1.0,"elements":[{"defaultValues":{},"position":{"x":316.0,"y":-80.0},"guid":"70b6e8bc-08ef-4e18-82a3-bc4412380c42","$version":"A","$type":"Bolt.TriggerStateTransition","$id":"284"},{"coroutine":false,"defaultValues":{},"position":{"x":-86.0,"y":-136.0},"guid":"d22d04b3-596c-476b-8203-0cc33f9c580a","$version":"A","$type":"Bolt.Update","$id":"286"},{"defaultValues":{},"position":{"x":132.0,"y":-86.0},"guid":"893c7e7a-bf8b-46bc-8ea2-015b65bfff20","$version":"A","$type":"Bolt.Branch","$id":"288"},{"nest":{"source":"Macro","macro":5,"embed":null},"defaultValues":{},"position":{"x":-98.0,"y":-14.0},"guid":"064e7e2e-aed4-4406-8994-6833c2c5a637","$version":"A","$type":"Bolt.SuperUnit","$id":"290"},{"specifyFallback":true,"kind":"Object","defaultValues":{"name":{"$content":"AttackRange","$type":"System.String"},"object":null},"position":{"x":-334.0,"y":18.0},"guid":"f8c682a6-df75-4307-b640-9c2cc98c0f90","$version":"A","$type":"Bolt.GetVariable","$id":"293"},{"specifyFallback":false,"kind":"Application","defaultValues":{"name":{"$content":"Player","$type":"System.String"}},"position":{"x":-302.0,"y":-100.0},"guid":"7d518c3f-bac2-4b39-99fd-368bbedbac75","$version":"A","$type":"Bolt.GetVariable","$id":"295"},{"type":"System.Single","value":{"$content":0.0,"$type":"System.Single"},"defaultValues":{},"position":{"x":-479.0,"y":58.0},"guid":"d592f021-2e61-4ecb-a218-0398966b6fd0","$version":"A","$type":"Bolt.Literal","$id":"297"},{"sourceUnit":{"$ref":"286"},"sourceKey":"trigger","destinationUnit":{"$ref":"288"},"destinationKey":"enter","guid":"d704247c-606c-46be-baed-afe6a8bf1b0a","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"288"},"sourceKey":"ifFalse","destinationUnit":{"$ref":"284"},"destinationKey":"trigger","guid":"8ea36a10-044e-4dd8-9567-eb91c6b65137","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"290"},"sourceKey":"Within
|
|
Range","destinationUnit":{"$ref":"288"},"destinationKey":"condition","guid":"da088183-fc4d-4cf0-ab86-494c48e3bc17","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"295"},"sourceKey":"value","destinationUnit":{"$ref":"290"},"destinationKey":"Other","guid":"6a30f56a-37f2-4806-ba85-444effb3a55b","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"293"},"sourceKey":"value","destinationUnit":{"$ref":"290"},"destinationKey":"Range","guid":"1ecec816-0643-4dae-8627-b4531bcf58cb","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"297"},"sourceKey":"output","destinationUnit":{"$ref":"293"},"destinationKey":"fallback","guid":"3aed0d20-ce41-40f0-80ec-601aa60288df","$type":"Bolt.ValueConnection"}],"$version":"A"}},"source":{"$ref":"121"},"destination":{"$ref":"97"},"guid":"449b0e7a-3614-45b6-88b9-9905f0d99f16","$version":"A","$type":"Bolt.FlowStateTransition"}],"$version":"A"}}'
|
|
_objectReferences:
|
|
- {fileID: 11400000, guid: 94558cc9f9b80bc4a9d52eb7d31a78e1, type: 2}
|
|
- {fileID: 8908867284155637257, guid: 725f5168e7863264c867a2f6fce60abf, type: 3}
|
|
- {fileID: 11400000, guid: eb5b15daf41a3f94eb74aa20e957acbc, type: 2}
|
|
- {fileID: 11400000, guid: eb5b15daf41a3f94eb74aa20e957acbc, type: 2}
|
|
- {fileID: 11400000, guid: eb5b15daf41a3f94eb74aa20e957acbc, type: 2}
|
|
- {fileID: 11400000, guid: eb5b15daf41a3f94eb74aa20e957acbc, type: 2}
|