Beispiel #1
0
        private void OnEnable()
        {
            scrollView = serializedObject.targetObject as KGUI_ScrollView;

            vertical   = serializedObject.FindProperty("vertical");
            horizontal = serializedObject.FindProperty("horizontal");
            panel      = serializedObject.FindProperty("panel");

            content = serializedObject.FindProperty("content");
        }
Beispiel #2
0
        private void OnEnable()
        {
            scrollView = serializedObject.targetObject as KGUI_ScrollView;

            vertical     = serializedObject.FindProperty("vertical");
            horizontal   = serializedObject.FindProperty("horizontal");
            panel        = serializedObject.FindProperty("panel");
            content      = serializedObject.FindProperty("content");
            isFollowHand = serializedObject.FindProperty("isFollowHand");
            initYNum     = serializedObject.FindProperty("initNum");
            initXNum     = serializedObject.FindProperty("initXNum");
        }