예제 #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);
    }
예제 #2
0
 void Awake()
 {
     UIAnimation.Init();
 }