您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
21 行
7.6 KiB
21 行
7.6 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: -1893448595, guid: a040fb66244a7f54289914d98ea4ef7d, type: 3}
|
|
m_Name: PlayerWeaponController
|
|
m_EditorClassIdentifier:
|
|
_data:
|
|
_json: '{"graph":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":null,"summary":null,"pan":{"x":239.5122,"y":597.3524},"zoom":1.0,"elements":[{"chainable":false,"member":{"name":"SetActive","parameterTypes":["System.Boolean"],"targetType":"UnityEngine.GameObject","targetTypeName":"UnityEngine.GameObject","$version":"A"},"defaultValues":{"target":null,"%value":{"$content":true,"$type":"System.Boolean"}},"position":{"x":431.0,"y":35.0},"guid":"af443631-1b8d-4b5c-85c3-31b569aa9234","$version":"A","$type":"Bolt.InvokeMember","$id":"9"},{"type":"System.Boolean","value":{"$content":true,"$type":"System.Boolean"},"defaultValues":{},"position":{"x":-172.0,"y":140.0},"guid":"fdec37ec-dc7d-42f2-b6d8-16381ff2a5e9","$version":"A","$type":"Bolt.Literal","$id":"12"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"HasWeapon","$type":"System.String"},"object":null},"position":{"x":-128.0,"y":486.0},"guid":"bc711e17-f709-4719-b8a3-e76e67027fd6","$version":"A","$type":"Bolt.GetVariable","$id":"14"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"Weapon","$type":"System.String"},"object":null},"position":{"x":142.0,"y":623.0},"guid":"6dc4c335-8358-4f49-9caf-aea60460a250","$version":"A","$type":"Bolt.GetVariable","$id":"16"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"Weapon","$type":"System.String"},"object":null},"position":{"x":-120.0,"y":719.0},"guid":"a2f05bbe-df06-4a59-afdf-ca8ad835d33d","$version":"A","$type":"Bolt.GetVariable","$id":"18"},{"argumentCount":0,"coroutine":false,"defaultValues":{"target":null,"name":{"$content":"PickupWeapon","$type":"System.String"}},"position":{"x":-165.0,"y":0.0},"guid":"f1bd785a-90df-4d7d-aafb-1ea8168a6bbf","$version":"A","$type":"Bolt.CustomEvent","$id":"20"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"Weapon","$type":"System.String"},"object":null},"position":{"x":242.0,"y":116.0},"guid":"7820d049-f566-4cd0-893d-cbdd2afad541","$version":"A","$type":"Bolt.GetVariable","$id":"22"},{"defaultValues":{},"position":{"x":112.0,"y":390.0},"guid":"0344e1e0-e25c-4c91-93cc-60047431a642","$version":"A","$type":"Bolt.Branch","$id":"24"},{"member":{"name":"position","parameterTypes":null,"targetType":"UnityEngine.Transform","targetTypeName":"UnityEngine.Transform","$version":"A"},"defaultValues":{"target":null},"position":{"x":58.0,"y":756.0},"guid":"fb6d0fac-c195-4515-8429-d338c324fb1b","$version":"A","$type":"Bolt.GetMember","$id":"26"},{"nest":{"source":"Macro","macro":0,"embed":null},"defaultValues":{"Cooldown":{"$content":0.0,"$type":"System.Single"},"Bullet":{"$content":1,"$type":"UnityEngine.Object"}},"position":{"x":420.0,"y":490.0},"guid":"d52412ad-5181-437b-8c95-b3c8337d24bc","$version":"A","$type":"Bolt.SuperUnit","$id":"29"},{"defaultValues":{"b":{"x":0.0,"y":0.0,"z":0.0,"$type":"UnityEngine.Vector3"}},"position":{"x":244.0,"y":778.0},"guid":"af772204-6b01-4f4f-b6ed-a0b38cc31c3f","$version":"A","$type":"Bolt.Vector3Add","$id":"32"},{"kind":"Object","defaultValues":{"name":{"$content":"HasWeapon","$type":"System.String"},"object":null},"position":{"x":44.0,"y":22.0},"guid":"9b9e966d-7899-4558-b16f-32d29eef3cf3","$version":"A","$type":"Bolt.SetVariable","$id":"34"},{"coroutine":false,"defaultValues":{"buttonName":{"$content":"Fire1","$type":"System.String"},"action":{"$content":"Down","$type":"Ludiq.PressState"}},"position":{"x":-124.0,"y":361.0},"guid":"77999213-9a03-41eb-af40-be1d1002da2b","$version":"A","$type":"Bolt.OnButtonInput","$id":"36"},{"member":{"name":"forward","parameterTypes":null,"targetType":"UnityEngine.Transform","targetTypeName":"UnityEngine.Transform","$version":"A"},"defaultValues":{"target":null},"position":{"x":-125.0,"y":844.0},"guid":"241ac97c-d778-4c96-9358-c4321aa99e8c","$version":"A","$type":"Bolt.GetMember","$id":"38"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"BulletPrefab","$type":"System.String"},"object":null},"position":{"x":139.0,"y":503.0},"guid":"ba79612a-cd5d-4954-9748-3520f485f0fe","$version":"A","$type":"Bolt.GetVariable","$id":"41"},{"sourceUnit":{"$ref":"36"},"sourceKey":"trigger","destinationUnit":{"$ref":"24"},"destinationKey":"enter","guid":"da42fd2d-239c-4d81-a9a8-d4ed44cb6f38","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"34"},"sourceKey":"assigned","destinationUnit":{"$ref":"9"},"destinationKey":"enter","guid":"7b386d0f-aa62-40cb-97a2-03807e6159ef","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"20"},"sourceKey":"trigger","destinationUnit":{"$ref":"34"},"destinationKey":"assign","guid":"d0f8491f-b8ba-4137-902f-4aceace432ef","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"24"},"sourceKey":"ifTrue","destinationUnit":{"$ref":"29"},"destinationKey":"Fire","guid":"289dba83-7638-41b9-94e8-c3ef94da84d0","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"12"},"sourceKey":"output","destinationUnit":{"$ref":"34"},"destinationKey":"input","guid":"cc6a41d4-0ca1-41a2-82d6-71f1cea1d03d","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"22"},"sourceKey":"value","destinationUnit":{"$ref":"9"},"destinationKey":"target","guid":"8e35a303-8e39-489a-98c7-6f57ea2eaf04","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"14"},"sourceKey":"value","destinationUnit":{"$ref":"24"},"destinationKey":"condition","guid":"73b8de63-9004-4ae2-a945-bc634dad68f1","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"32"},"sourceKey":"sum","destinationUnit":{"$ref":"29"},"destinationKey":"Target","guid":"f866911f-6a73-4cf2-9837-4d0b371a0b83","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"38"},"sourceKey":"value","destinationUnit":{"$ref":"32"},"destinationKey":"b","guid":"1e496d20-55a0-4ccd-8e88-5c2c56c23078","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"16"},"sourceKey":"value","destinationUnit":{"$ref":"29"},"destinationKey":"Origin","guid":"e5ac8796-dee0-4178-af63-005fd1b89395","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"18"},"sourceKey":"value","destinationUnit":{"$ref":"26"},"destinationKey":"target","guid":"73a86dc5-d4cf-4610-94dc-fe128a1b2f9b","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"26"},"sourceKey":"value","destinationUnit":{"$ref":"32"},"destinationKey":"a","guid":"c7ebb7b7-8047-462c-8cc2-4ecd7b539613","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"41"},"sourceKey":"value","destinationUnit":{"$ref":"29"},"destinationKey":"Bullet","guid":"4066e896-fe9b-4060-bb7f-22f1d832474d","$type":"Bolt.ValueConnection"},{"position":{"xMin":-222.0,"yMin":-52.0,"xMax":598.0,"yMax":276.0},"label":"Pickup
|
|
weapon","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"dc9ea83d-4410-40dc-b0ba-d8ecb52fdbfd","$version":"A","$type":"Ludiq.GraphGroup"},{"position":{"xMin":-185.0,"yMin":308.0,"xMax":607.0,"yMax":970.0},"label":"Fire
|
|
the bullet from the weapon","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"c70a3730-7990-4a1b-8298-9f5e4dc3af4f","$version":"A","$type":"Ludiq.GraphGroup"}],"$version":"A"}}'
|
|
_objectReferences:
|
|
- {fileID: 11400000, guid: 94558cc9f9b80bc4a9d52eb7d31a78e1, type: 2}
|
|
- {fileID: 8908867284155637257, guid: 964361af4c2f92547a7f06eb814f9364, type: 3}
|