コード例 #1
0
		void OnEnable () {
			titleContent.text = "Skill Tree";

			textStyle = new GUIStyle();
			textStyle.fontSize = 20;

			if (sidebar == null) sidebar = new GraphSidebar();

			if (camera == null) camera = new GraphCamera();

			current = this;
		}
コード例 #2
0
        void OnEnable()
        {
            titleContent.text = "Skill Tree";

            textStyle          = new GUIStyle();
            textStyle.fontSize = 20;

            if (sidebar == null)
            {
                sidebar = new GraphSidebar();
            }

            if (camera == null)
            {
                camera = new GraphCamera();
            }

            current = this;
        }