This file contains 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
Begin Object Class=MaterialGraphNode_Root Name="MaterialGraphNode_Root_2" | |
Material=PreviewMaterial'/Engine/Transient.PreviewMaterial_0' | |
NodeGuid=295639F942054985ADEB2A8B299BB450 | |
CustomProperties Pin (PinId=91A403B341F874C53B5211929B6B0D74,PinName="Base Color",PinType.PinCategory="materialinput",PinType.PinSubCategory="5",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_111 90CBEE9C42D63AE0971D829D0C5072A5,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,) | |
CustomProperties Pin (PinId=E4C0666F4C84B2ACA6C0B7804D8B98A8,PinName="Metallic",PinType.PinCategory="materialinput",PinType.PinSubCategory="6",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference |
This file contains 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
Begin Object Class=MaterialGraphNode_Root Name="MaterialGraphNode_Root_1" | |
Material=PreviewMaterial'/Engine/Transient.M_FX_Premultiply_GradientMapping_NoMF' | |
NodePosX=912 | |
NodePosY=16 | |
NodeGuid=28048E6D4D26D02C1FA33DBC2F0C845B | |
CustomProperties Pin (PinId=9DEAA045477299AC353ACA88A0479768,PinName="Base Color",PinType.PinCategory="materialinput",PinType.PinSubCategory="5",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,) | |
CustomProperties Pin (PinId=536C21C94384EDBC42431BA073DB670C,PinName="Metallic",PinType.PinCategory="materialinput",PinType.PinSubCategory="6",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinV |
This file contains 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.Collections.Generic; | |
using UnityEngine.UI; | |
/* UI Particle Scaling script by Tobi Tobasco Nollero, questions: [email protected], http://tobiasnoller.com/ | |
* Just drag this script on any canvas which has child particle systems underneath. | |
* Add your resolution change listener to scale your particles when changing resolutions. | |
* Prewarmed particle system emitting on begin play, will probably not be affected by the script the first time they fire. | |
* Feel free to use this script in any project. |