@ -1,3 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | version https://git-lfs.github.com/spec/v1 | ||||
oid sha256:6e4c66a6bd49ce2a4272d7a654c5f672cace8afca5f31e4902f701fd892b2651 | |||||
oid sha256:9310fa0d8f14f0a8df3edf310504907081a4a345138aaa3ce16831b6f0a5c70a | |||||
size 1090 | size 1090 |
@ -1,3 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | version https://git-lfs.github.com/spec/v1 | ||||
oid sha256:b461219fe61fa8068804d40407fb1e13919f1586959b20af63ed803c87d8ce40 | |||||
size 972 | |||||
oid sha256:1e015a0da38e87891400b0cad46b1694e7d1399516e89a36259b3b10d215c932 | |||||
size 981 |
@ -0,0 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:393d8fb1306335f183f74173908fb0c1e76fe2bf1979a837f371a508947102a1 | |||||
size 550 |
@ -1,5 +1,5 @@ | |||||
fileFormatVersion: 2 | fileFormatVersion: 2 | ||||
guid: 194f051bd7d3e7d4fb5b96a8e1d5b162 | |||||
guid: e11629d4fbb1e8246b7d4f003800bfa0 | |||||
NativeFormatImporter: | NativeFormatImporter: | ||||
externalObjects: {} | externalObjects: {} | ||||
mainObjectFileID: 11400000 | mainObjectFileID: 11400000 |
@ -1,3 +0,0 @@ | |||||
version https://git-lfs.github.com/spec/v1 | |||||
oid sha256:f6712f10315d70ca4180ef96202f61cc5350369d0f8ca8a441e9401d88dd531c | |||||
size 572 |
@ -1,3 +1,3 @@ | |||||
version https://git-lfs.github.com/spec/v1 | version https://git-lfs.github.com/spec/v1 | ||||
oid sha256:7fa1e723385e9f306464c0178b5b65a91e021048f897888eb6f62fbd9cb6e178 | |||||
size 420 | |||||
oid sha256:0cac147b3e2a80da6d6842107c757978b02be0bbc606a1bd80ec5bc588ef56fc | |||||
size 756 |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 296bd90e667df1f4697823a0aa45acf0 | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 3d7d7a61a5341904eb3c65af025b1d86 | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 7dbc36665bc0d684db9a4447e27a7a4b | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 860c08388401a6d4e858fe4910ea9337 | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: f6caae32d463529478f2186f47c2e3fe | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,30 @@ | |||||
using System.Collections; | |||||
using System.Collections.Generic; | |||||
using UnityEngine; | |||||
[CreateAssetMenu(menuName = "Major Project/Editable Block")] | |||||
public class EditableBlock : CombinedBlock | |||||
{ | |||||
public override LogicBlock[] GetAllBlocks() | |||||
{ | |||||
List<LogicBlock> retVal = new List<LogicBlock>(); | |||||
retVal.Add(this); | |||||
foreach (LogicBlock block in blockReader.LogicChain) | |||||
retVal.AddRange(block.GetAllBlocks()); | |||||
return retVal.ToArray(); | |||||
} | |||||
public override int Size() | |||||
{ | |||||
int retVal = 1; | |||||
foreach (LogicBlock block in blockReader.LogicChain) | |||||
retVal += block.Size(); | |||||
return retVal; | |||||
} | |||||
} |
@ -0,0 +1,11 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 5a430f6f9e9cf724bb79454bc4f60bb7 | |||||
MonoImporter: | |||||
externalObjects: {} | |||||
serializedVersion: 2 | |||||
defaultReferences: [] | |||||
executionOrder: 0 | |||||
icon: {instanceID: 0} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 8936b441d7647f74884c94f97bfb8931 | |||||
folderAsset: yes | |||||
DefaultImporter: | |||||
externalObjects: {} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |