コード例 #1
0
        private static void CreateLayoutPreferredSizeAsset()
        {
            var newInstance = CreateInstance <Vector2TweenData>();

            newInstance.m_type = SpecificType.LayoutElement_PreferredSize;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #2
0
        private static void CreateOutlineColorAsset()
        {
            var newInstance = CreateInstance <ColorTweenData>();

            newInstance.m_type = SpecificType.Outline_Color;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #3
0
        private static void CreateTextTimeFormatAsset()
        {
            var newInstance = CreateInstance <IntegerTweenData>();

            newInstance.m_type = SpecificType.Text_TimeFormat;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #4
0
        private static void CreateTransformMoveAsset()
        {
            var newInstance = CreateInstance <SetVector4TweenData>();

            newInstance.m_type = SpecificType.Material_Vector;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #5
0
        private static void CreateMaterialBlendableColorAsset()
        {
            var newInstance = CreateInstance <ColorTweenData>();

            newInstance.m_type = SpecificType.Renderer_BlendableColor;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #6
0
        private static void CreateRectTransformAnchorPosYOffsetAsset()
        {
            var newInstance = CreateInstance <SnapFloatTweenData>();

            newInstance.m_type = SpecificType.RectTransform_AnchorPosYOffset;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #7
0
        private static void CreateImageFillAmountAsset()
        {
            var newInstance = CreateInstance <FloatTweenData>();

            newInstance.m_type = SpecificType.Image_FillAmount;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #8
0
        private static void CreateRectTransformShakeAnchoredPositionSpriteAsset()
        {
            var newInstance = CreateInstance <ShakeTweenData>();

            newInstance.m_type = SpecificType.RectTransform_AnchoredPosition;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #9
0
        private static void CreateAudioMixerSetFloatAsset()
        {
            var newInstance = CreateInstance <SetFloatTweenData>();

            newInstance.m_type = SpecificType.AudioMixer_SetFloat;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #10
0
        private static void CreateLightShadowStrenghtAsset()
        {
            var newInstance = CreateInstance <FloatTweenData>();

            newInstance.m_type = SpecificType.Light_ShadowStrength;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #11
0
        private static void CreateShakeCameraRotationAsset()
        {
            var newInstance = CreateInstance <ShakeTweenData>();

            newInstance.m_type = SpecificType.Camera_ShakeRotation;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #12
0
        private static void CreateGraphicFadeAsset()
        {
            var newInstance = CreateInstance <FloatTweenData>();

            newInstance.m_type = SpecificType.Graphic_Fade;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #13
0
        private static void CreateAudioPitchFadeAsset()
        {
            var newInstance = CreateInstance <FloatTweenData>();

            newInstance.m_type = SpecificType.AudioSource_Pitch;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #14
0
        private static void CreateCameraOrthoSizeAsset()
        {
            var newInstance = CreateInstance <FloatTweenData>();

            newInstance.m_type = SpecificType.Camera_OrthoSize;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #15
0
        private static void CreateMaterialTilingAsset()
        {
            var newInstance = CreateInstance <Vector2TweenData>();

            newInstance.m_type = SpecificType.Material_Tiling;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #16
0
        private static void CreateImageGradientColorAsset()
        {
            var newInstance = CreateInstance <GradientTweenData>();

            newInstance.m_type = SpecificType.Image_GradientColor;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #17
0
        private static void CreateMaterialGradientPropertyAsset()
        {
            var newInstance = CreateInstance <SetGradientTweenData>();

            newInstance.m_type = SpecificType.Material_GradientProperty;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #18
0
        private static void CreateRawImageUVRectAsset()
        {
            var newInstance = CreateInstance <RectTweenData>();

            newInstance.m_type = SpecificType.RawImage_UVRect;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #19
0
        private static void CreateTransformScaleAsset()
        {
            var newInstance = CreateInstance <Vector3TweenData>();

            newInstance.m_type = SpecificType.Transform_Scale;
            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, newInstance.m_type.ToString());
        }
コード例 #20
0
        private static void CreateLineRendererColorsAsset()
        {
            var newInstance = CreateInstance <LineRendererTweenData>();

            CustomCreateAsset.CreateScriptableAssetInCurrentSelection(newInstance, "LineRenderer_Colors");
        }