This file contains hidden or 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
| const filesContainer = document.querySelector('div#files'); | |
| filesContainer.querySelectorAll('div.js-details-container').forEach(div => { | |
| let fileHeader = div.querySelector('div.file-header'); | |
| let filePath = fileHeader.getAttribute('data-path'); | |
| let isMetaFile = filePath.endsWith('.meta'); | |
| let isDotAssetFile = filePath.endsWith('.asset'); | |
| let shouldHide = isMetaFile || isDotAssetFile; | |
| let loadDiffButton = div.querySelector('button.load-diff-button'); | |
| if(loadDiffButton != null && !shouldHide) { |
This file contains hidden or 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
| import numpy as np | |
| import random | |
| import matplotlib.pyplot as plt | |
| def dirichletPop(dim): | |
| transMat = np.random.dirichlet(np.ones(dim),size=dim) | |
| return transMat | |
| def n0Pop(dim): | |
| n0 = (1/dim) * np.ones((1,dim)) |
This file contains hidden or 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
| using UnityEngine; | |
| using UnityEngine.Serialization; | |
| public class NiceDataClass : MonoBehaviour { | |
| [SerializeField] | |
| public string name; | |
| [SerializeField] | |
| public int particleCount; |
NewerOlder