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 System.Collections.Generic; | |
[System.Serializable] | |
public class SerializableDictionary<TKey, TValue> : Dictionary<TKey, TValue>, ISerializationCallbackReceiver { | |
[SerializeField] | |
private List<TKey> keys = new List<TKey> (); | |
[SerializeField] | |
private List<TValue> values = new List<TValue> (); |
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
/** | |
* The following code is derived from the original code from: http://schemingdeveloper.com. | |
* The derived version was developed by Rune Skovbo Johansen - http://runevision.com | |
* | |
* Modifications in the derived version: | |
* | |
* - Averaged normals are calculated as a weighted average based on face area, | |
* known as "face weighted normals" or "area weighted normals". | |
* | |
* - An ignoreFactor parameter has been added which can cull normals from the average |
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 System.Collections; | |
using UnityEngine.Events; | |
namespace Cluster { | |
public class CollisionCall : MonoBehaviour { | |
public LayerMask layerMask = -1; |
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
namespace UnityEngine.UI | |
{ | |
[AddComponentMenu("Layout/Horizontal Layout Group", 150)] | |
public class HorizontalLayoutGroup : HorizontalOrVerticalLayoutGroup | |
{ | |
protected HorizontalLayoutGroup() | |
{} | |
public override void CalculateLayoutInputHorizontal () |
NewerOlder