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
| [CreateAssetMenu(fileName = "AbilityData", menuName = "ScriptableObjects/AbilityData", order = 1)] | |
| public class AbilityData : ScriptableObject { | |
| public AnimationClip animationClip; | |
| public int animationHash; | |
| public float duration; | |
| public Sprite icon; | |
| public string fullName; | |
| void OnValidate() { |
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 System; | |
| using System.Collections.Generic; | |
| using System.Collections; | |
| /// <summary> | |
| /// Initializes a new instance of the ObservableList class that is empty | |
| /// or contains elements copied from the specified list. | |
| /// </summary> | |
| /// <param name="initialList"> The list to copy elements from. </param> | |
| public interface IObservableList<T> { |
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
| MarchingCubesGPU.cs: | |
| ... | |
| // DrawProceduralIndirect | |
| ComputeBuffer argsBuffer; | |
| [StructLayout(LayoutKind.Sequential)] | |
| struct DrawCallArgBuffer | |
| { | |
| public const int size = | |
| sizeof(int) + | |
| sizeof(int) + |
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
| mcs -target:library -out:MyAssembly.dll -r:/Applications/Unity/Unity.app/Contents/Frameworks/UnityEngine.dll MyAssembly.cs |