Beispiel #1
0
    private void Awake()
    {
        StartPosition = RectTransform.localPosition;
        StartScale    = RectTransform.localScale;
        StartRotation = RectTransform.eulerAngles;

        material = GetComponent <Image>().material;
        OnPointerEnterBehaviour.Init(material);
        OnPointerExitBehaviour.Init(material);
        OnPointerDownBehaviour.Init(material);
    }
Beispiel #2
0
 void Awake()
 {
     UIAnimation.Init();
 }