This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[System.Serializable] | |
public struct Scale : IComponentData | |
{ | |
public float3 Value; | |
} | |
[UnityEngine.ExecuteInEditMode] | |
public class CustomTransformSystem : JobComponentSystem | |
{ | |
struct CustomTransformGroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SpectrumSystem : JobComponentSystem | |
{ | |
Settings settings; | |
Channel[] channels; | |
public int Init(Settings inSettings) | |
{ | |
settings = inSettings; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SpawnCubeSystem : ComponentSystem | |
{ | |
Settings settings; | |
int totalCubeCount; | |
bool isFirstTime; | |
public void Init(Settings inSettings, EntityManager entityManager, MeshInstanceRenderer look) | |
{ | |
isFirstTime = true; | |
settings = inSettings; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BootupECSJob | |
{ | |
public static MeshInstanceRenderer cubeLook; | |
public static Settings settings; | |
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterSceneLoad)] | |
public static void Init() | |
{ | |
EntityManager entityManager = World.Active.GetOrCreateManager<EntityManager>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BootupJob : MonoBehaviour | |
{ | |
public GameObject cubePrefab; | |
public Settings settings; | |
public float[] spectrumBuff; | |
public Transform[] transforms; | |
public NativeArray<float> currentSpectrums; | |
public NativeArray<float> prevSpectrums; | |
public NativeArray<Vector3> origins; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct SpectrumJob : IJobParallelForTransform | |
{ | |
public float maxScale; | |
public float dynamics; | |
public float epsilon; | |
public NativeArray<float> currentSpectrums; | |
public NativeArray<float> prevSpectrums; | |
public NativeArray<Vector3> origins; | |
public void Execute(int index, TransformAccess transform) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BootupMono : MonoBehaviour | |
{ | |
public GameObject cubePrefab; | |
public Settings settings; | |
float[] spectrumBuff; | |
float[] prevSpectrumBuff; | |
GameObject[] cubes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 cong2 0x0000000101e78060 UnityUpdateDisplayList (in cong2) (LibEntryPoint.mm:578) | |
1 cong2 0x0000000100bcfb84 DisplayManager updateDisplayListInUnity] (in cong2) (DisplayManager.mm:330) | |
2 cong2 0x0000000100bcff28 DisplayManager screenDidConnect:] (in cong2) (DisplayManager.mm:369) | |
3 CoreFoundation 0x00000001854e113c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20 (CFNotificationCenter.c:661) | |
4 CoreFoundation 0x00000001854e06dc _CFXRegistrationPost + 420 (CFNotificationCenter.c:163) | |
5 CoreFoundation 0x00000001854e0440 ___CFXNotificationPost_block_invoke + 60 (CFNotificationCenter.c:1060) | |
6 CoreFoundation 0x000000018555de24 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1408 (CFXNotificationRegistrar.m:163) | |
7 CoreFoundation 0x0000000185416d60 _CFXNotificationPost + 380 (CFNotificationCenter.c:1057) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
None found | |
Thread 0 name: Dispatch queue: com.apple.main-thread | |
Thread 0 Crashed: | |
0 cong2 0x0000000101e78060 0x100bbc000 + 19644512 | |
1 cong2 0x0000000100bcfb84 0x100bbc000 + 80772 | |
2 cong2 0x0000000100bcff28 0x100bbc000 + 81704 | |
3 CoreFoundation 0x00000001854e113c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20 (CFNotificationCenter.c:661) | |
4 CoreFoundation 0x00000001854e06dc _CFXRegistrationPost + 420 (CFNotificationCenter.c:163) | |
5 CoreFoundation 0x00000001854e0440 ___CFXNotificationPost_block_invoke + 60 (CFNotificationCenter.c:1060) | |
6 CoreFoundation 0x000000018555de24 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1408 (CFXNotificationRegistrar.m:163) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fread(&appData->id, sizeof(u16), 1, dataFile); | |
fread(&appData->pad_1, sizeof(u16), 1, dataFile); | |
fread(&appData->pad_2, sizeof(u32), 1, dataFile); | |
fread(&appData->data1, sizeof(u32), 1, dataFile); | |
fread(&appData->data2, sizeof(u32), 1, dataFile); | |
fread(&appData->data2, sizeof(u32), 1, dataFile); | |
fread(&appData->data4, sizeof(u32), 1, dataFile); | |
fread(appData->owned, sizeof(OwnedResource)*ResourceType_Count, 1, dataFile); | |
fread(appData->resource, sizeof(Resource)*ResourceType_Count, 1, dataFile); |
NewerOlder