[Serializable] public class CustomDictionary : SerializableDictionary { }
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 System; | |
//based on the code in this post: http://martinecker.com/martincodes/unity-editor-window-zooming/ | |
//but I changed how the API works and made it much more flexible | |
//usage: create an EditorZoomer instance wherever you want to use it (it tracks the pan + zoom state) | |
//in your OnGUI, draw your scrollable content between zoomer.Begin() and zoomer.End(); | |
//you also must offset your content by zoomer.GetContentOffset(); |
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.Playables; | |
public class ClickToEndBehaviour : PlayableBehaviour | |
{ | |
private PlayableDirector director { get; set; } | |
public override void OnPlayableCreate(Playable playable) | |
{ | |
director = (playable.GetGraph().GetResolver() as PlayableDirector); |
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
Visual Studio 2017 | |
Test Professional: | |
VG622-NKFP4-GTWPH-XB2JJ-JFHVF | |
Professional: | |
KBJFW-NXHK6-W4WJM-CRMQB-G3CDH | |
4F3PR-NFKDB-8HFP7-9WXGY-K77T7 | |
Enterprise: | |
NJVYC-BMHX2-G77MM-4XJMR-6Q8QF |
Figma是一款优秀的设计工具,不仅可以便捷地实现协作开发,同时还提供了丰富的扩展能力,使得我们可以通过编写插件实现自定义的功能。
Figma官方是有提供开发者文档的,资料也比较齐全。推荐同时读一下 https://www.figma.com/plugin-docs/intro/。
OlderNewer